diff --git a/app/templates/base.html b/app/templates/base.html
index 0a07fd8..0d8ba4e 100644
--- a/app/templates/base.html
+++ b/app/templates/base.html
@@ -14,7 +14,7 @@
- {% if user.is_authenticated %}
+ {% if request.user.is_authenticated %}
- Profile
{% if "groups"|installed %}
- Groups
@@ -29,7 +29,7 @@
{% if perms.sso.can_search_users %}
- Lookup User
{% endif %}
- {% if user.is_staff %}
+ {% if request.user.is_staff %}
- Admin
{% endif %}
- Logout