diff options
-rw-r--r-- | lib/PAUSE/OpenID/Controller/Root.pm | 3 | ||||
-rw-r--r-- | pause_openid.pl | 2 |
2 files changed, 3 insertions, 2 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'); } diff --git a/pause_openid.pl b/pause_openid.pl index 7fae2ea..6604d9b 100644 --- a/pause_openid.pl +++ b/pause_openid.pl @@ -11,7 +11,7 @@ return { flash_to_stash => 1, expires => 172800, # two days memcached_new_args => { - data => [ "10.10.10.108:11211" ], + data => [ "localhost:11211" ], namespace => "pause_openid_session", }, }, |