diff options
Diffstat (limited to 'lib/PAUSE/OpenID')
-rw-r--r-- | lib/PAUSE/OpenID/Controller/Root.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PAUSE/OpenID/Controller/Root.pm b/lib/PAUSE/OpenID/Controller/Root.pm index 275bff8..05135e5 100644 --- a/lib/PAUSE/OpenID/Controller/Root.pm +++ b/lib/PAUSE/OpenID/Controller/Root.pm @@ -82,6 +82,7 @@ sub login :Local { if ($res->code == 200) { $c->log->info('login pass'); + $c->session->{pauseid} = $username; $c->res->redirect($c->uri_for('/login_pass')); } else { @@ -95,7 +96,7 @@ sub login :Local { sub login_pass :Local { my ( $self, $c ) = @_; - + $c->res->content_type('text/plain'); $c->res->body('login pass'); } |