mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-22 00:32:16 +02:00
N°8545 - Standardize return message from password reset
This commit is contained in:
@@ -260,12 +260,13 @@ class LoginWebPage extends NiceWebPage
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$oTwigContext = new LoginTwigRenderer();
|
|
||||||
$aVars = $oTwigContext->GetDefaultVars();
|
|
||||||
$oTwigContext->Render($this, 'forgotpwdsent.html.twig', $aVars);
|
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$this->DisplayForgotPwdForm(true, $e->getMessage());
|
IssueLog::Info('Failed to process the forgot password request for user "'.$sAuthUser.'": '.$e->getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$oTwigContext = new LoginTwigRenderer();
|
||||||
|
$aVars = $oTwigContext->GetDefaultVars();
|
||||||
|
$oTwigContext->Render($this, 'forgotpwdsent.html.twig', $aVars);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function DisplayResetPwdForm($sErrorMessage = null)
|
public function DisplayResetPwdForm($sErrorMessage = null)
|
||||||
|
|||||||
Reference in New Issue
Block a user