]> git.gir.st - subscriptionfeed.git/blob - app/templates/account_mgmt.html.j2
[DATABASE CHANGE: Migration below] make login tokens revocable
[subscriptionfeed.git] / app / templates / account_mgmt.html.j2
1 {% extends "base.html.j2" %}
2 {% import 'macros.imp.j2' as macros %}
3
4 {% block title %}Account Management{% endblock %}
5
6 {% block content %}
7 {{ super() }}
8 <form method=POST>
9 <fieldset><legend>Change Password</legend>
10 <label>Current:<input name=oldpasswd type=password></label><br>
11 <label>New Password:<input name=newpasswd type=password></label><br>
12 <button name=action value="chpwd">Update</button>
13 </fieldset>
14 </form>
15 <form method=POST>
16 <fieldset><legend>Login Token</legend>
17 <p>You can append <code>?token=...</code> to any URL to
18 automatically log you in. Generating a new token will
19 invalidate the old one, but keep logged in sessions alive.</p>
20 <label>Token:<input value="{{ login_token }}" name=token type=text readonly></label><br>
21 <button name=action value="chtok">Generate New</button>
22 </fieldset>
23 </form>
24 {% endblock %}
Imprint / Impressum