Debian Codegraph @

tests/templates/security/email/reset_instructions_test.txt

raw
1 {# This template receives the following context:
2 reset_link - the link that should be fetched (GET) to reset
3 reset_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 within - formatted expiration of link
7 security - the Flask-Security configuration
8 #}
9 {{ global }}
10 {{ foo }}
11
12 Link:{{ reset_link }}
13 Email:{{ user.email }}
14 Token:{{ reset_token }}
15 RegisterBlueprint:{{ security.register_blueprint }}
16 SecurityConfig:{{ config["SECURITY_RESET_URL"] }}
17 Within:{{ within }}
18
19 {% include "security/email/reset_instructions.txt" %}