diff --git a/account_page.php b/account_page.php index d7420963b2..28de1199e8 100644 --- a/account_page.php +++ b/account_page.php @@ -162,7 +162,7 @@ - + getPasswordManagedExternallyMessage(); } -/** - * The message to show to indicate to user that they can't reset or set the password. - * @return string The message. - */ -function auth_password_change_not_allowed_message() { - $t_auth_flags = auth_flags(); - return $t_auth_flags->getPasswordManagedExternallyMessage(); -} - /** * Check if permanent login is enabled. * @param int|bool $p_user_id The user id, or NO_USER/false for unknown user. diff --git a/verify.php b/verify.php index 19de2c328c..7b65a1dc3b 100644 --- a/verify.php +++ b/verify.php @@ -112,7 +112,7 @@ echo ''; } else { echo '
'; - echo auth_password_change_not_allowed_message(); + echo auth_password_managed_elsewhere_message(); echo '
'; } ?>