commit
816fb783ce
@ -771,7 +771,7 @@ class User extends Base {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!$aData['email'] = $this->getUserEmail($username, true)) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
if (!$aData['token'] = $this->token->createToken('password_reset', $this->getUserId($username, true))) {
|
if (!$aData['token'] = $this->token->createToken('password_reset', $this->getUserId($username, true))) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user