summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2020-01-31 20:30:03 -0500
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2020-01-31 20:30:03 -0500
commit2c86325e3c23fdddfb0a84e479437c8bc057a7eb (patch)
tree79c3f366aa062915b021da782506584262273a8b /templates
parentcbf64a8a5c7d748722369a2ec47c1230650d7b88 (diff)
Add user request guard
Diffstat (limited to 'templates')
-rw-r--r--templates/index.hbs3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/index.hbs b/templates/index.hbs
index f61c517..238e5e2 100644
--- a/templates/index.hbs
+++ b/templates/index.hbs
@@ -1,4 +1,7 @@
{{#*inline "page"}}
+{{#if user}}
+ <p>Logged in as {{ user }}</p>
+{{/if}}
<p>Message: {{ message }}</p>
<p><a href="/link_strava">Link strava account</a></p>
{{/inline}}