Merge remote-tracking branch 'origin/support/2.5' into release/2.6

This commit is contained in:
Eric
2018-11-16 10:36:24 +01:00

View File

@@ -381,6 +381,7 @@ EOF
{
// Trash the token and change the password
$oUser->Set('reset_pwd_token', '');
$oUser->AllowWrite(true);
$oUser->SetPassword($sNewPwd); // Does record the change into the DB
$this->add("<p>".Dict::S('UI:ResetPwd-Ready')."</p>");