diff --git a/src/capport/api/templates/base.html b/src/capport/api/templates/base.html index bc82e4a..24e7b8d 100644 --- a/src/capport/api/templates/base.html +++ b/src/capport/api/templates/base.html @@ -14,10 +14,6 @@ - {% for message in get_flashed_messages() %} - - {% endfor %} - {% block content %}{% endblock %} diff --git a/src/capport/api/views.py b/src/capport/api/views.py index d9f0b50..ca92b8a 100644 --- a/src/capport/api/views.py +++ b/src/capport/api/views.py @@ -111,7 +111,6 @@ async def login(): address = get_client_ip() mac = await get_client_mac(address) await user_login(address, mac) - await quart.flash('Logged in') return quart.redirect('/', code=303) @@ -119,7 +118,6 @@ async def login(): async def logout(): mac = await get_client_mac() await user_logout(mac) - await quart.flash('Logged out') return quart.redirect('/', code=303)