summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2021-06-25 11:16:43 -0400
committerB. Stack <bgstack15@gmail.com>2021-06-25 11:18:19 -0400
commit8c6a9cbcf966c8d6d38f65cd3dc8095543ad9270 (patch)
tree16b5a08975939ef3abfd4aaf67b8dd85f9251183 /templates
parentenable ldap user resolution and display shortnames (diff)
downloadsession_app-8c6a9cbcf966c8d6d38f65cd3dc8095543ad9270.tar.gz
session_app-8c6a9cbcf966c8d6d38f65cd3dc8095543ad9270.tar.bz2
session_app-8c6a9cbcf966c8d6d38f65cd3dc8095543ad9270.zip
now store user groups in session, for display
Diffstat (limited to 'templates')
-rw-r--r--templates/view.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/view.html b/templates/view.html
index 5c14175..0496cae 100644
--- a/templates/view.html
+++ b/templates/view.html
@@ -5,5 +5,8 @@ Cookie user: {{ c_user }}<br/>
Session: {{ session }}<br/>
Cookies: {{ cookie }}<br/>#}
Session expires: {{ cookie.timestamp }}<br/>
-Logged in through: {{ cookie.type }}
+Logged in through: {{ cookie.type }}{% if groups %}<br/>
+Usergroups:<ul>
+{% for group in groups %}<li>{{ group }}</li>
+{% endfor %}</ul>{% endif %}
</html>
bgstack15