Update user.class.php

No need to show world if valid account.
This commit is contained in:
joebauers 2014-01-26 02:44:30 -05:00
parent 971006b7a2
commit 48ce68e612

View File

@ -767,7 +767,7 @@ class User extends Base {
}
}
if (!$aData['email'] = $this->getUserEmail($username, true)) {
$this->setErrorMessage("Unable to find a mail address for user $username");
$this->setErrorMessage("Please check your mail account to finish your password reset");
return false;
}
if (!$aData['token'] = $this->token->createToken('password_reset', $this->getUserId($username, true))) {