projects
/
catagits/Catalyst-Authentication-Store-Htpasswd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
change for_session in Auth::Store::Htpasswd to use username
[catagits/Catalyst-Authentication-Store-Htpasswd.git]
/
lib
/
Catalyst
/
Plugin
/
Authentication
/
Store
/
Htpasswd
/
User.pm
diff --git
a/lib/Catalyst/Plugin/Authentication/Store/Htpasswd/User.pm
b/lib/Catalyst/Plugin/Authentication/Store/Htpasswd/User.pm
index
7c7600f
..
a242ba5
100644
(file)
--- 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 {