mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
New feature: Forgot password -> email to reset (possibly disabled in the config file)
SVN:trunk[2855]
This commit is contained in:
@@ -51,16 +51,9 @@ switch($sLoginMode)
|
||||
phpCAS::logoutWithRedirectService($sCASLogoutUrl); // Redirects to the CAS logout page
|
||||
break;
|
||||
}
|
||||
$oPage = new LoginWebPage();
|
||||
$oPage = LoginWebPage::NewLoginWebPage();
|
||||
$oPage->no_cache();
|
||||
$sVersionShort = Dict::Format('UI:iTopVersion:Short', ITOP_VERSION);
|
||||
$sIconUrl = Utils::GetConfig()->Get('app_icon_url');
|
||||
$sDisplayIcon = utils::GetAbsoluteUrlAppRoot().'images/itop-logo-external.png';
|
||||
if (file_exists(MODULESROOT.'branding/login-logo.png'))
|
||||
{
|
||||
$sDisplayIcon = utils::GetAbsoluteUrlModulesRoot().'branding/login-logo.png';
|
||||
}
|
||||
$oPage->add("<div id=\"login-logo\"><a href=\"".htmlentities($sIconUrl, ENT_QUOTES, 'UTF-8')."\"><img title=\"$sVersionShort\" src=\"$sDisplayIcon\"></a></div>\n");
|
||||
$oPage->DisplayLoginHeader();
|
||||
$oPage->add("<div id=\"login\">\n");
|
||||
$oPage->add("<h1>".Dict::S('UI:LogOff:ThankYou')."</h1>\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user