Fix force password reset in Combination (#1984)

This commit is contained in:
Maxime Besson 2019-10-24 08:58:04 +02:00
parent b25470f818
commit ed3e274ab1

View File

@ -265,7 +265,8 @@ sub display {
# Avoid issue 1867
or ( $self->conf->{authentication} eq 'Combination'
and $req->{error} > PE_OK
and $req->{error} != PE_FIRSTACCESS )
and $req->{error} != PE_FIRSTACCESS
and $req->{error} != PE_PP_PASSWORD_EXPIRED )
# and ( $req->{error} == PE_TOKENEXPIRED or $req->{error} == PE_NOTOKEN )
)