From 161e836d0c4516779776fb955fb7027d0d9fcc1e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 26 Nov 2008 22:42:07 +0000 Subject: [PATCH] --- src/Hydra/lib/Hydra/Controller/Root.pm | 1 - 1 file changed, 1 deletion(-) 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.";