Commit ee402420 authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Fix badcredentials display (#1536)

parent 824ab9a7
......@@ -88,7 +88,7 @@ sub _verify {
$req->{sessionInfo}->{_utime} = delete $req->{sessionInfo}->{_2fUtime};
$req->authResult(PE_BADCREDENTIALS);
return $self->p->do( $req,
[ $self->p->storeHistory($req), sub { $res } ] );
[ sub { $self->p->storeHistory($req) }, sub { $res } ] );
}
# Else restore session
......
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