Debian Codegraph @

flask_security/templates/security/email/us_instructions.html

raw
1 {# This template receives the following context:
2 login_link - the link that should be fetched (GET) to reset
3 login_token - this token is part of reset link - but can be used to
4 construct arbitrary URLs for redirecting.
5 user - the entire user model object
6 username - username
7 within - how long the link/code is valid
8 security - the Flask-Security configuration
9 #}
10 <p>{{ _fsdomain("Welcome %(username)s!", username=username) }}</p>
11 <p>{{ _fsdomain("You can sign in to your account using the following code: %(code)s", code=login_token) }}</p>
12 {% if login_link %}
13 <p>{{ _fsdomain('Or use this link: <a href="%(login_link)s">Sign in</a>', login_link=login_link)|safe }}</p>
14 {% endif %}
15 <p>{{ _fsdomain('This code/link will expire in %(within)s.', within=within) }}</p>