]> git.mxchange.org Git - friendica.git/commitdiff
spelling: password
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 26 Mar 2023 22:36:31 +0000 (18:36 -0400)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Mon, 27 Mar 2023 00:04:07 +0000 (20:04 -0400)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
src/Console/AutomaticInstallation.php
src/Model/User.php
tests/src/Console/AutomaticInstallationConsoleTest.php

index 1ce516e25f66484d5a3abd4630855243755a02d3..33b6f8303fa05498e2f114e2665079c0b7ee2d9b 100644 (file)
@@ -95,7 +95,7 @@ Examples
        bin/console autoinstall --savedb
                Installs Friendica with environment variables and saves them to the 'config/local.config.php' file
 
-       bin/console autoinstall -H localhost -p 3365 -u user -P passwort1234 -d friendica -U https://friendica.fqdn
+       bin/console autoinstall -H localhost -p 3365 -u user -P password1234 -d friendica -U https://friendica.fqdn
                Installs Friendica with a local mysql database with credentials
 HELP;
        }
index 5b749ec1dc7b8613a393f0c27be94245c0198336..66b4cf1ff66620edf790d9c7c2e3099a0b4d7e41 100644 (file)
@@ -816,14 +816,14 @@ class User
         * Empties the password reset token field just in case.
         *
         * @param int    $uid
-        * @param string $pasword_hashed
+        * @param string $password_hashed
         * @return bool
         * @throws Exception
         */
-       private static function updatePasswordHashed(int $uid, string $pasword_hashed): bool
+       private static function updatePasswordHashed(int $uid, string $password_hashed): bool
        {
                $fields = [
-                       'password' => $pasword_hashed,
+                       'password' => $password_hashed,
                        'pwdreset' => null,
                        'pwdreset_time' => null,
                        'legacy_password' => false
index cde18e72c4942daeb21bbec17a24fd26e13882c2..b4ad96dcafd195b862a1872f2a5ca132c9f43e0a 100644 (file)
@@ -673,7 +673,7 @@ Examples
        bin/console autoinstall --savedb
                Installs Friendica with environment variables and saves them to the 'config/local.config.php' file
 
-       bin/console autoinstall -h localhost -p 3365 -U user -P passwort1234 -d friendica
+       bin/console autoinstall -h localhost -p 3365 -U user -P password1234 -d friendica
                Installs Friendica with a local mysql database with credentials
 
 HELP;