more user handling features of flask-security activated

Now users can recover their passwords and change them while
logged in.
This commit is contained in:
2016-04-21 08:11:57 +02:00
parent 01798e9548
commit 0303be7945
9 changed files with 74 additions and 8 deletions

View File

@@ -2,6 +2,7 @@
{% if current_user.email %}
<li><a href='{{ url_for('create_pit_stop_form') }}'>Create Pitstop</a></li>
<li><a href='{{ url_for('get_statistics') }}'>Statistics</a></li>
<li><a href='{{ url_for('get_account_page') }}'>Account</a></li>
{% if current_user.has_role('admin') %}
<li><a href='{{ url_for('get_admin_page') }}'>Admin</a></li>
{% endif %}