From: Yuval Kogman Date: Wed, 25 Jan 2006 13:43:56 +0000 (+0000) Subject: oh wait, it was already resolved X-Git-Tag: v0.02~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Authentication-Store-Htpasswd.git;a=commitdiff_plain;h=9f2d86693e9a3e35a9d628a1dae0903f149ee7de oh wait, it was already resolved --- diff --git a/lib/Catalyst/Plugin/Authentication/Store/Htpasswd/User.pm b/lib/Catalyst/Plugin/Authentication/Store/Htpasswd/User.pm index 78a4ab5..ad5d17c 100644 --- a/lib/Catalyst/Plugin/Authentication/Store/Htpasswd/User.pm +++ b/lib/Catalyst/Plugin/Authentication/Store/Htpasswd/User.pm @@ -20,7 +20,7 @@ sub new { sub id { my $self = shift; - return ( $self->user || return )->username; + return $self->user->username; } sub supported_features {