Display form again when an error occures (#1508)

This commit is contained in:
Christophe Maudoux 2018-11-16 22:03:06 +01:00
parent dd4bf53ed8
commit 8217c4c567

View File

@ -88,7 +88,7 @@ sub _reset {
# PASSWORD CHANGE FORM => changePwd()
if ( $req->method =~ /^POST$/i
and ( $req->param('newpassword') or $req->param('reset') ) )
and ( $req->param('newpassword') or $req->param('confirmpassword') or $req->param('reset') ) )
{
return $self->changePwd($req);
}