forked from lix-project/hydra
This commit is contained in:
parent
50ae3ca9e9
commit
161e836d0c
|
@ -73,7 +73,6 @@ sub login :Local {
|
||||||
defined $c->flash->{afterLogin}
|
defined $c->flash->{afterLogin}
|
||||||
? $c->flash->{afterLogin}
|
? $c->flash->{afterLogin}
|
||||||
: $c->uri_for('/'));
|
: $c->uri_for('/'));
|
||||||
$c->flash->{afterLogin} = undef;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$c->stash->{errorMsg} = "Bad username or password.";
|
$c->stash->{errorMsg} = "Bad username or password.";
|
||||||
|
|
Loading…
Reference in a new issue