summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/components/main/layouts.jade5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/components/main/layouts.jade b/client/components/main/layouts.jade
index 88d178f5..2095e016 100644
--- a/client/components/main/layouts.jade
+++ b/client/components/main/layouts.jade
@@ -40,5 +40,6 @@ template(name="notFound")
template(name="message")
.big-message.quiet(class=color)
h1 {{_ label}}
- with(pathFor route='atSignIn')
- p {{{_ 'page-maybe-private' this}}}
+ unless currentUser
+ with(pathFor route='atSignIn')
+ p {{{_ 'page-maybe-private' this}}}