Force lowercase username, remove from session
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<a class=logo href="{{ url_for('index') }}">A</a>
|
||||
<div style="margin:auto"></div>
|
||||
{% if 'user_id' in session %}
|
||||
<a href="{{ url_for('user_edit') }}">{{ session.get('username', '???') }}</a>
|
||||
<a href="{{ url_for('user_edit') }}">User panel</a>
|
||||
<span>|</span>
|
||||
<a href="{{ url_for('logout') }}">Logout</a>
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user