summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/PAUSE/OpenID/Controller/Root.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PAUSE/OpenID/Controller/Root.pm b/lib/PAUSE/OpenID/Controller/Root.pm
index 566a0a1..12bcac6 100644
--- a/lib/PAUSE/OpenID/Controller/Root.pm
+++ b/lib/PAUSE/OpenID/Controller/Root.pm
@@ -76,6 +76,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 {
@@ -86,7 +87,7 @@ sub login :Local {
sub login_pass :Local {
my ( $self, $c ) = @_;
-
+
$c->res->content_type('text/plain');
$c->res->body('login pass');
}