2
0

remove flash messages

This commit is contained in:
Stefan Bühler 2022-04-07 12:12:28 +02:00
parent 7e15835ebd
commit 99db542326
2 changed files with 0 additions and 6 deletions

View File

@ -14,10 +14,6 @@
</ul> </ul>
</header> </header>
{% for message in get_flashed_messages() %}
<div class="alert alert-primary" role="alert">{{ message }}</div>
{% endfor %}
{% block content %}{% endblock %} {% block content %}{% endblock %}
</body> </body>
</html> </html>

View File

@ -111,7 +111,6 @@ async def login():
address = get_client_ip() address = get_client_ip()
mac = await get_client_mac(address) mac = await get_client_mac(address)
await user_login(address, mac) await user_login(address, mac)
await quart.flash('Logged in')
return quart.redirect('/', code=303) return quart.redirect('/', code=303)
@ -119,7 +118,6 @@ async def login():
async def logout(): async def logout():
mac = await get_client_mac() mac = await get_client_mac()
await user_logout(mac) await user_logout(mac)
await quart.flash('Logged out')
return quart.redirect('/', code=303) return quart.redirect('/', code=303)