oh wait, it was already resolved
Yuval Kogman [Wed, 25 Jan 2006 13:43:56 +0000 (13:43 +0000)]
lib/Catalyst/Plugin/Authentication/Store/Htpasswd/User.pm

index 78a4ab5..ad5d17c 100644 (file)
@@ -20,7 +20,7 @@ sub new {
 
 sub id {
     my $self = shift;
-    return ( $self->user || return )->username;
+    return $self->user->username;
 }
 
 sub supported_features {