diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Display.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Display.pm index 8a8b90eab..a4e73d262 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Display.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Display.pm @@ -307,6 +307,7 @@ sub display { and $req->{error} > PE_OK and $req->{error} != PE_FIRSTACCESS and $req->{error} != PE_BADCREDENTIALS + and $req->{error} != PE_PP_CHANGE_AFTER_RESET and $req->{error} != PE_PP_PASSWORD_EXPIRED ) ) {