about summary refs log tree commit diff
diff options
context:
space:
mode:
authorzsloan2023-03-21 18:40:41 +0000
committerzsloan2023-03-21 18:40:41 +0000
commit9bb94bfc6d6c37ce9e72ffc76e70962b1d743c73 (patch)
tree1e8caef2e5188da979e1cba5b576fb18a7f9cb86
parent07bf6c91841f9023db6508a3207eb16b22f78e1e (diff)
downloadgenenetwork2-9bb94bfc6d6c37ce9e72ffc76e70962b1d743c73.tar.gz
Remove session['user_details'] references since they seem to cause an error
-rw-r--r--wqflask/wqflask/templates/base.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/wqflask/templates/base.html b/wqflask/wqflask/templates/base.html
index 8dae761f..78dc1b5e 100644
--- a/wqflask/wqflask/templates/base.html
+++ b/wqflask/wqflask/templates/base.html
@@ -163,8 +163,8 @@
                     </li>
                     {% endif %}
                     <li class="">
-                        {% if g.user_session.logged_in or session.get("user_details") %}
-                        <a id="login_out" title="Signed in as {{ g.user_session.user_name or session['user_details']['name']}}" href="/n/logout">Sign out</a>
+                        {% if g.user_session.logged_in %}
+                        <a id="login_out" title="Signed in as {{ g.user_session.user_name }}" href="/n/logout">Sign out</a>
                         {% else %}
                         <a id="login_in" href="/n/login">Sign in</a>
                         {% endif %}
@@ -377,4 +377,4 @@
     </script>
 </body>
 
-</html>
\ No newline at end of file
+</html>