create logout endpoint that clears user data from session

This commit is contained in:
dandds
2018-09-17 10:18:14 -04:00
parent dffd0e9e0f
commit 0d1494ea11
3 changed files with 37 additions and 9 deletions

View File

@@ -17,7 +17,7 @@
{{ Icon('avatar', classes='topbar__link-icon') }}
</a>
<a href="/" class="topbar__link" title='Log out of JEDI Cloud'>
<a href="{{ url_for('atst.logout') }}" class="topbar__link" title='Log out of JEDI Cloud'>
{{ Icon('logout', classes='topbar__link-icon') }}
</a>
</div>