From 23ff8d36199c0cddb5bae4a5010cb71f861eeef8 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Tue, 29 Dec 2015 09:59:46 +0100 Subject: Add custom email for 2FA Related #1490 --- .../UserBundle/Resources/translations/wallabag_user.en.yml | 10 ++++++++++ .../UserBundle/Resources/translations/wallabag_user.fr.yml | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 src/Wallabag/UserBundle/Resources/translations/wallabag_user.en.yml create mode 100644 src/Wallabag/UserBundle/Resources/translations/wallabag_user.fr.yml (limited to 'src/Wallabag/UserBundle/Resources/translations') diff --git a/src/Wallabag/UserBundle/Resources/translations/wallabag_user.en.yml b/src/Wallabag/UserBundle/Resources/translations/wallabag_user.en.yml new file mode 100644 index 00000000..f806d1d6 --- /dev/null +++ b/src/Wallabag/UserBundle/Resources/translations/wallabag_user.en.yml @@ -0,0 +1,10 @@ +# Two factor mail +auth_code.mailer.subject: 'Wallabag authentication Code' +auth_code.mailer.body: | + Hi %user%, + + Since you enable two factor authentication on your wallabag account and you just logged in from a new device (computer, phone, etc.), we send you a code to validate your connection. + Here is the code: %code% + + Please don't hesitate to contact us if you have any problems: %support% + The wallabag team diff --git a/src/Wallabag/UserBundle/Resources/translations/wallabag_user.fr.yml b/src/Wallabag/UserBundle/Resources/translations/wallabag_user.fr.yml new file mode 100644 index 00000000..386b2d9e --- /dev/null +++ b/src/Wallabag/UserBundle/Resources/translations/wallabag_user.fr.yml @@ -0,0 +1,10 @@ +# Two factor mail +auth_code.mailer.subject: "Code d'authentification wallabag" +auth_code.mailer.body: | + Bonjour %user%, + + Comme vous avez activé la double authentification sur votre compte wallabag et que vous venez de vous connecter depuis un nouvel appareil (ordinateur, téléphone, etc.), nous vous envoyons un code pour valider votre connexion. + Voici le code à renseigner: %code% + + Si vous avez un problème de connexion, n'hésitez pas à contacter le support: %support% + L'équipe wallabag -- cgit v1.2.3