Debian Codegraph @

flask_security/templates/security/email/welcome_existing_username.html

raw
1 {# This template receives the following context:
2
3 email - newly registered email
4 security - the Flask-Security configuration
5 username - existing username
6
7 This template is used when returning generic responses in the case of a
8 new email but an existing username. Note that this does effectively allow
9 for username enumeration.
10 #}
11 <div>{{ _fsdomain('Hello %(email)s!', email=email) }}</div>
12 <div>
13 {{ _fsdomain('You attempted to register with a username "%(username)s" that is already associated with another account.', username=username) }}
14 </div>
15 <div>{{ _fsdomain('Please restart the registration process with a different username.') }}</div>