n°1617 - meets iTop fence requirements

This commit is contained in:
bruno DA SILVA
2019-10-09 18:53:40 +02:00
parent 4afed39b0e
commit d1eb674314
6 changed files with 67 additions and 2 deletions

View File

@@ -38,6 +38,15 @@ class LoginURL extends AbstractLoginFSMExtension
return LoginWebPage::LOGIN_FSM_CONTINUE;
}
protected function OnReadCredentials(&$iErrorCode)
{
if ($_SESSION['login_mode'] == 'url')
{
$_SESSION['login_temp_auth_user'] = utils::ReadParam('auth_user', '', false, 'raw_data');
}
return LoginWebPage::LOGIN_FSM_CONTINUE;
}
protected function OnCheckCredentials(&$iErrorCode)
{
if ($_SESSION['login_mode'] == 'url')