diff options
author | B. Stack <bgstack15@gmail.com> | 2021-06-25 11:16:43 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2021-06-25 11:18:19 -0400 |
commit | 8c6a9cbcf966c8d6d38f65cd3dc8095543ad9270 (patch) | |
tree | 16b5a08975939ef3abfd4aaf67b8dd85f9251183 /templates/view.html | |
parent | enable ldap user resolution and display shortnames (diff) | |
download | session_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/view.html')
-rw-r--r-- | templates/view.html | 5 |
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> |