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 security - the Flask-Security configuration
8 #}
9 <p>{{ _fsdomain("Welcome %(username)s!", username=username) }}</p>
10 <p>{{ _fsdomain("You can sign in to your account using the following code: %(token)s", token=token) }}</p>
11 {% if login_link %}
12 <p>{{ _fsdomain('Or use this link: <a href="%(login_link)s">Sign in</a>', login_link=login_link)|safe }}</p>
13 {% endif %}