From f9b99ce66f56995a29709e9bf24750dab9430767 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Wed, 21 Sep 2022 21:33:40 -0400 Subject: bunch of features registration, logging out, listing networks, user profiles --- app/templates/index.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'app/templates/index.html') 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 %} +

Hi, {{current_user.pref_name}}!

+{% else %} +

Hello!

+

Much of this tool requires authentication. Head on over here +to login, or here to register. +{% endif %} {% endblock %} -- cgit v1.2.3