From 68a5a99d8b5d42efe4e2300344e14f3f74b37c7b Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 26 Mar 2023 18:36:31 -0400 Subject: [PATCH] spelling: password Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/Console/AutomaticInstallation.php | 2 +- src/Model/User.php | 6 +++--- tests/src/Console/AutomaticInstallationConsoleTest.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Console/AutomaticInstallation.php b/src/Console/AutomaticInstallation.php index 1ce516e25f..33b6f8303f 100644 --- a/src/Console/AutomaticInstallation.php +++ b/src/Console/AutomaticInstallation.php @@ -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; } diff --git a/src/Model/User.php b/src/Model/User.php index 5b749ec1dc..66b4cf1ff6 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -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 diff --git a/tests/src/Console/AutomaticInstallationConsoleTest.php b/tests/src/Console/AutomaticInstallationConsoleTest.php index cde18e72c4..b4ad96dcaf 100644 --- a/tests/src/Console/AutomaticInstallationConsoleTest.php +++ b/tests/src/Console/AutomaticInstallationConsoleTest.php @@ -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; -- 2.39.5