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

@@ -1,5 +1,12 @@
{% extends "layout.html" %}
{% block body %}
Admin
<h1>Admin</h1>
We have {{ data.users|length }} users so far:
<ul>
{% for user in data.users %}
<li>{{user.email}}</li>
{% endfor %}
</ul>
<a href='{{ url_for('security.login', _external=True) }}'>Login</a>
{% endblock %}