Skip to content
Snippets Groups Projects
Commit 2c22619a authored by Sam Tuke's avatar Sam Tuke
Browse files

Reverted fix temporarily; another fix by LukasReschke is awaiting merge

parent faf6cb08
No related branches found
No related tags found
No related merge requests found
......@@ -22,9 +22,11 @@ if(OC_User::getUser() === $username) {
if (OC_User::checkPassword($username, $oldPassword)) {
$userstatus = 'user';
} else {
if (!OC_Util::isUserVerified()) {
$userstatus = null;
}
}
}
if(is_null($userstatus)) {
OC_JSON::error( array( "data" => array( "message" => "Authentication error" )));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment