Change choice order (#1461)

This commit is contained in:
Xavier Guimard 2018-07-06 14:44:41 +02:00
parent aa1e9b44d5
commit ea48c78a28

View File

@ -97,10 +97,10 @@ sub checkChoice {
}
}
$name ||=
$req->userData->{_choice}
$req->param( $self->conf->{authChoiceParam} )
|| $req->userData->{_choice}
|| $req->sessionInfo->{_choice}
|| $req->pdata->{_choice}
|| $req->param( $self->conf->{authChoiceParam} )
or return 0;
unless ( defined $self->modules->{$name} ) {
$self->logger->error("Unknown choice '$name'");