aboutsummaryrefslogtreecommitdiff
path: root/app/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/index.html')
-rw-r--r--app/templates/index.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/templates/index.html b/app/templates/index.html
index 3c69e80..efaf29e 100644
--- a/app/templates/index.html
+++ b/app/templates/index.html
@@ -1,5 +1,13 @@
{% extends "base.html" %}
{% block content %}
+{% if current_user.is_authenticated %}
+<h1>Hi, {{current_user.pref_name}}!</h1>
+{% else %}
+<h1>Hello!</h1>
+<p>Much of this tool requires authentication. Head on over <a
+ href="{{url_for('auth.login')}}">here</a>
+to login, or <a href="{{url_for('auth.register')}}">here</a> to register.
+{% endif %}
{% endblock %}