diff --git a/src/Hydra/lib/Hydra/Controller/Root.pm b/src/Hydra/lib/Hydra/Controller/Root.pm index 669bad8b..6707458b 100644 --- a/src/Hydra/lib/Hydra/Controller/Root.pm +++ b/src/Hydra/lib/Hydra/Controller/Root.pm @@ -73,7 +73,6 @@ sub login :Local { defined $c->flash->{afterLogin} ? $c->flash->{afterLogin} : $c->uri_for('/')); - $c->flash->{afterLogin} = undef; return; } $c->stash->{errorMsg} = "Bad username or password.";