diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 6d96b198d..50d20490a 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->check_password($_SESSION["uid"], "password")) { + if ($authenticator && $authenticator->check_password($_SESSION["uid"], "password")) { return true; }