Commit fbc30e13 authored by Clément OUDOT's avatar Clément OUDOT

Set hidden form value at correct step to allow fail back (#707)

parent 7b216e61
......@@ -80,13 +80,13 @@ sub extractFormInfo {
elsif ( defined $req->param('kerberos') ) {
$self->userLogger->warn(
'Kerberos authentication has failed, back to portal');
$self->p->setHiddenFormValue( $req, kerberos => 0, '', 0 );
return PE_BADCREDENTIALS;
}
# Case 3: Display kerberos auth page (with javascript)
else {
$self->logger->debug('Send Kerberos javascript');
$self->p->setHiddenFormValue( $req, kerberos => 0, '', 0 );
$req->datas->{customScript} .=
'<script type="text/javascript" src="'
. $self->p->staticPrefix
......
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