checkTemporaryPassword should call loadPasswords() first
[lhc/web/wiklou.git] / includes / User.php
index 73d4959..c42f308 100644 (file)
@@ -3821,6 +3821,7 @@ class User implements IDBAccessObject {
                global $wgNewPasswordExpiry;
 
                $this->load();
+               $this->loadPasswords();
                if ( $this->mNewpassword->equals( $plaintext ) ) {
                        if ( is_null( $this->mNewpassTime ) ) {
                                return true;