X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FPlugin%2FAuthentication.pm;h=2b8166244f8e9117ff726e087d05f3c4eb473c0a;hb=daed2d141fbe18a85c4c9d040cfa9bb03138988e;hp=6c69a903d04896a34d47bf7ed11c1ef07a71592b;hpb=57751a69aa035a1c3937b54229822aa7c61a70b0;p=catagits%2FCatalyst-Plugin-Authentication.git diff --git a/lib/Catalyst/Plugin/Authentication.pm b/lib/Catalyst/Plugin/Authentication.pm index 6c69a90..2b81662 100644 --- a/lib/Catalyst/Plugin/Authentication.pm +++ b/lib/Catalyst/Plugin/Authentication.pm @@ -40,7 +40,6 @@ sub set_authenticated { $c->save_user_in_session($user, $realmname); } $user->auth_realm($realmname); - $user->store(ref($c->auth_realms->{$realmname}{'store'})); $c->NEXT::set_authenticated($user, $realmname); } @@ -150,10 +149,7 @@ sub auth_restore_user { # this sets the realm the user originated in. $user->auth_realm($realmname); - ## compatibility - some pre 0.10 store / credentials may need the store name, - ## this is not used by the current api in any form. - $user->store(ref($c->auth_realms->{$realmname}{'store'})); - + return $user; }