{# This template receives the following context: login_link - the link that should be fetched (GET) to reset login_token - this token is part of reset link - but can be used to construct arbitrary URLs for redirecting. user - the entire user model object username - username within - how long the link/code is valid security - the Flask-Security configuration #}
{{ _fsdomain("Welcome %(username)s!", username=username) }}
{{ _fsdomain("You can sign in to your account using the following code: %(code)s", code=login_token) }}
{% if login_link %}{{ _fsdomain('Or use this link: Sign in', login_link=login_link)|safe }}
{% endif %}{{ _fsdomain('This code/link will expire in %(within)s.', within=within) }}