]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/passwordsettings.php
Fix regression in password settings: users have been unable to change their passwords...
[quix0rs-gnu-social.git] / actions / passwordsettings.php
index 4395f772bd91de91e4fa459d339b590e05da4a87..3bb8e3bb9f9d1e6fedf058c27c8e2ceb4877e9b6 100644 (file)
@@ -170,7 +170,7 @@ class PasswordsettingsAction extends AccountSettingsAction
         }
 
         $success = false;
-        if(Event::handle('StartChangePassword', array($user, $oldpassword, $newpassword))){
+        if(Event::handle('StartChangePassword', array($user, $oldpassword, $newpassword))){
             //no handler changed the password, so change the password internally
             $original = clone($user);