mirror of
https://github.com/wassname/flask-security.git
synced 2026-06-28 16:20:24 +08:00
15 lines
565 B
HTML
15 lines
565 B
HTML
{% if security.registerable or security.recoverable or security.confirmabled %}
|
|
<h2>Menu</h2>
|
|
<ul>
|
|
<li><a href="{{ url_for_security('login') }}">Login</a></li>
|
|
{% if security.registerable %}
|
|
<li><a href="{{ url_for_security('register') }}">Register</a><br/></li>
|
|
{% endif %}
|
|
{% if security.recoverable %}
|
|
<li><a href="{{ url_for_security('forgot_password') }}">Forgot password</a><br/></li>
|
|
{% endif %}
|
|
{% if security.confirmable %}
|
|
<li><a href="{{ url_for_security('send_confirmation') }}">Confirm account</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
{% endif %} |