fix for lack of remote_user
[catagits/Reaction.git] / lib / ComponentUI / Controller / Root.pm
index 4d9f1eb..1239ea8 100644 (file)
@@ -43,7 +43,7 @@ sub root :Chained('base') :PathPart('') :Args(0) {
       },
     ),
   );
-  $c->log->debug('remote', $c->request->remote_user );
+  $c->log->debug('remote', $c->request->remote_user || '' );
 }
 
 sub bye :Chained('base') :PathPart('bye') :Args(0) {