auth für user
This commit is contained in:
@@ -10,8 +10,13 @@
|
||||
<header class="topbar">
|
||||
<span class="brand">MyWhoosh → Garmin Sync</span>
|
||||
<nav>
|
||||
{% if request.session.get('admin_authenticated') %}
|
||||
<a href="/">Dashboard</a>
|
||||
<a href="/system">System</a>
|
||||
{% endif %}
|
||||
{% if request.session.get('self_service_user_id') %}
|
||||
<a href="/account">My Account</a>
|
||||
{% endif %}
|
||||
</nav>
|
||||
</header>
|
||||
<main class="container">
|
||||
|
||||
Reference in New Issue
Block a user