diff options
author | Sam Tuke <samtuke@owncloud.com> | 2013-02-06 19:06:55 +0000 |
---|---|---|
committer | Sam Tuke <samtuke@owncloud.com> | 2013-02-06 19:06:55 +0000 |
commit | 2c22619a18961d107b61b7486f2caf5cff4bc6a5 (patch) | |
tree | df1357af2883393d9336b153fdf9a643cdbcda54 /settings/ajax/changepassword.php | |
parent | faf6cb08686ed618eb08bce4a3035b3831ab10c8 (diff) | |
download | nextcloud-server-2c22619a18961d107b61b7486f2caf5cff4bc6a5.tar.gz nextcloud-server-2c22619a18961d107b61b7486f2caf5cff4bc6a5.zip |
Reverted fix temporarily; another fix by LukasReschke is awaiting merge
Diffstat (limited to 'settings/ajax/changepassword.php')
-rw-r--r-- | settings/ajax/changepassword.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/settings/ajax/changepassword.php b/settings/ajax/changepassword.php index ce4e326830c..3077e77bf4a 100644 --- a/settings/ajax/changepassword.php +++ b/settings/ajax/changepassword.php @@ -22,7 +22,9 @@ if(OC_User::getUser() === $username) { if (OC_User::checkPassword($username, $oldPassword)) { $userstatus = 'user'; } else { - $userstatus = null; + if (!OC_Util::isUserVerified()) { + $userstatus = null; + } } } |