From: David Kamholz Date: Sun, 13 Nov 2005 12:26:22 +0000 (+0000) Subject: change for_session in Auth::Store::Htpasswd to use username X-Git-Tag: v0.02~16 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Authentication-Store-Htpasswd.git;a=commitdiff_plain;h=ec31fe73dbbe0ab07357ea5959f29aed83d03c81 change for_session in Auth::Store::Htpasswd to use username --- diff --git a/lib/Catalyst/Plugin/Authentication/Store/Htpasswd/User.pm b/lib/Catalyst/Plugin/Authentication/Store/Htpasswd/User.pm index 7c7600f..a242ba5 100644 --- a/lib/Catalyst/Plugin/Authentication/Store/Htpasswd/User.pm +++ b/lib/Catalyst/Plugin/Authentication/Store/Htpasswd/User.pm @@ -38,7 +38,7 @@ sub roles { sub for_session { my $self = shift; - return $self; + return $self->user->username; } sub from_session {