oh wait, it was already resolved
[catagits/Catalyst-Authentication-Store-Htpasswd.git] / 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 {