Commit e71d96a2 authored by Xavier Guimard's avatar Xavier Guimard

Clean checkLogin usage (#595)

parent ede8f56e
......@@ -5,7 +5,6 @@
* Test for Zero
* replace SOAP by REST for notification creation
* "mail" in UserDB/*
* checkLogins in SAML
* verify activeTimer on/off on screen
* Add test for #173
......
......@@ -705,9 +705,7 @@ sub createAuthnRequest {
}
# Set RelayState
if ( my $relaystate =
$self->storeRelayState( $req, 'urldc', 'checkLogins' ) )
{
if ( my $relaystate = $self->storeRelayState( $req, 'urldc' ) ) {
$login->msg_relayState($relaystate);
$self->logger->debug("Set $relaystate in RelayState");
}
......
......@@ -88,7 +88,7 @@ sub display {
CHOICE_VALUE => $req->datas->{_authChoice},
CHECK_LOGINS => $self->conf->{portalCheckLogins}
&& $req->datas->{login},
ASK_LOGINS => $req->datas->{checkLogins},
ASK_LOGINS => $req->param('checkLogins'),
CONFIRMKEY => $self->stamp(),
LIST => $req->datas->{list} || [],
REMEMBER => $req->datas->{confirmRemember},
......@@ -176,7 +176,7 @@ sub display {
AUTH_URL => $req->{datas}->{_url},
LOGIN => $login,
CHECK_LOGINS => $self->conf->{portalCheckLogins},
ASK_LOGINS => $self->conf->{checkLogins},
ASK_LOGINS => $req->param('checkLogins'),
DISPLAY_RESETPASSWORD => $self->conf->{portalDisplayResetPassword},
DISPLAY_REGISTER => $self->conf->{portalDisplayRegister},
MAIL_URL => $self->conf->{mailUrl},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment