remove flash messages
This commit is contained in:
parent
7e15835ebd
commit
99db542326
@ -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>
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user