summaryrefslogtreecommitdiffstats
path: root/settings/ajax/changepassword.php
diff options
context:
space:
mode:
authorSam Tuke <samtuke@owncloud.com>2013-02-06 16:01:43 +0000
committerSam Tuke <samtuke@owncloud.com>2013-02-06 16:01:43 +0000
commita8c0e3612cf12879c5f1d20832f0cfd9b6236348 (patch)
tree3d9b51101c447535eb4125865ee8b063e68a659c /settings/ajax/changepassword.php
parenta3289d3991d9d7cc1b765163c832fa792fb3a146 (diff)
downloadnextcloud-server-a8c0e3612cf12879c5f1d20832f0cfd9b6236348.tar.gz
nextcloud-server-a8c0e3612cf12879c5f1d20832f0cfd9b6236348.zip
Removed call to depreciated isUserVerified()
Diffstat (limited to 'settings/ajax/changepassword.php')
-rw-r--r--settings/ajax/changepassword.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/settings/ajax/changepassword.php b/settings/ajax/changepassword.php
index 8d45e62e4d8..6c4cab44a2b 100644
--- a/settings/ajax/changepassword.php
+++ b/settings/ajax/changepassword.php
@@ -19,9 +19,7 @@ if(OC_User::getUser() === $username) {
if (OC_User::checkPassword($username, $oldPassword)) {
$userstatus = 'user';
} else {
- if (!OC_Util::isUserVerified()) {
- $userstatus = null;
- }
+ $userstatus = null;
}
}