aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/UserBundle/Resources/views
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-01-10 12:49:43 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-01-21 11:03:27 +0100
commit7ce895bf5e0531b96b2cf0692b9da3814fb742f8 (patch)
tree0727a190800024fed1b5de08562de8dd815b194b /src/Wallabag/UserBundle/Resources/views
parente72a943ad244f8b6349e31eb9a148808045b224b (diff)
downloadwallabag-7ce895bf5e0531b96b2cf0692b9da3814fb742f8.tar.gz
wallabag-7ce895bf5e0531b96b2cf0692b9da3814fb742f8.tar.zst
wallabag-7ce895bf5e0531b96b2cf0692b9da3814fb742f8.zip
Use HTML email for 2FA
Related to #1490
Diffstat (limited to 'src/Wallabag/UserBundle/Resources/views')
-rw-r--r--src/Wallabag/UserBundle/Resources/views/TwoFactor/email_auth_code.html.twig18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Wallabag/UserBundle/Resources/views/TwoFactor/email_auth_code.html.twig b/src/Wallabag/UserBundle/Resources/views/TwoFactor/email_auth_code.html.twig
new file mode 100644
index 00000000..b726d142
--- /dev/null
+++ b/src/Wallabag/UserBundle/Resources/views/TwoFactor/email_auth_code.html.twig
@@ -0,0 +1,18 @@
1{% block subject %}
2{{ "auth_code.mailer.subject"|trans({}, 'wallabag_user') }}
3{% endblock %}
4
5{% block body_html %}
6<p><b>{{ "auth_code.mailer.body.hello"|trans({'%user%': user}, 'wallabag_user') }}</b></p>
7
8<p>{{ "auth_code.mailer.body.content"|trans({'%code%': code}, 'wallabag_user') }}</p>
9
10<p>{{ "auth_code.mailer.body.signature"|trans({'%support%': support}, 'wallabag_user') }}</p>
11{% endblock %}
12
13{% block body_text %}
14{{ "auth_code.mailer.body.hello"|trans({'%user%': user}, 'wallabag_user') }}
15
16{{ "auth_code.mailer.body.content"|trans({'%code%': code}, 'wallabag_user') }}
17{{ "auth_code.mailer.body.signature"|trans({'%support%': support}, 'wallabag_user') }}
18{% endblock %}