diff options
author | simonp <[email protected]> | 2017-12-14 18:43:42 +0100 |
---|---|---|
committer | simonp <[email protected]> | 2017-12-14 18:43:42 +0100 |
commit | 5f19596651de08a429656cccf1273e79ccf305ea (patch) | |
tree | 51832371b02f254cbadb57dc07df765fb82b7bbf /classes/pref/prefs.php | |
parent | fde50b4e634cf42635a8ab62ae72e8a73d59f1bc (diff) |
Fix typo from previous pull request
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r-- | classes/pref/prefs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 7a61b6f19..fca67d0a6 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -922,7 +922,7 @@ class Pref_Prefs extends Handler_Protected { static function isdefaultpassword() { $authenticator = PluginHost::getInstance()->get_plugin($_SESSION["auth_module"]); - if ($authenticator && function_exists($authenticator->check_password) $authenticator->check_password($_SESSION["uid"], "password")) { + if ($authenticator && function_exists($authenticator->check_password) && $authenticator->check_password($_SESSION["uid"], "password")) { return true; } |