Debian Codegraph @

flask_security/templates/security/email/welcome_existing.txt

raw
1 {# This template receives the following context:
2
3 user - the entire user model object
4 security - the Flask-Security configuration
5 recovery_link - if enabled.
6 reset_link - reset link if enabled
7 reset_token - this token is part of reset link - but can be used to
8 construct arbitrary URLs for redirecting.
9 confirmation_link - confirmation link is user not yet confirmed (and enabled)
10 confirmation_token
11
12 This template is used when returning generic responses and don't/can't
13 provide detailed errors as part of form validation to avoid email/username
14 enumeration.
15 #}
16 {{ _fsdomain('Hello %(email)s!', email=user.email) }}
17
18 {{ _fsdomain('Someone (you?) tried to register this email - which is already in our system.') }}
19
20 {% if user.username %}
21 {{ _fsdomain('This account also has the following username associated with it: %(username)s', username=user.username) }}
22 {% endif %}
23
24 {% if reset_link %}
25 {{ _fsdomain('You can use this link %(reset_link)s to reset your password.', reset_link=reset_link)|safe }}
26 {% endif %}
27
28 {% if confirmation_link %}
29 {{ _fsdomain('You have not confirmed your email address yet - use this link: %(confirmation_link)s to do so now.', confirmation_link=confirmation_link)|safe }}
30 {% endif %}