From 826bf78aa81d9fcaf97739eaf3f511f58cbe9e74 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse <guillaume.rousse@renater.fr> Date: Fri, 27 Jul 2018 10:36:11 +0200 Subject: [PATCH] add forgotten templates --- templates/mail/send_authentication_token.tt2.html | 12 ++++++++++++ .../renater/mail/send_authentication_token.tt2.html | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 templates/mail/send_authentication_token.tt2.html create mode 100644 templates/renater/mail/send_authentication_token.tt2.html diff --git a/templates/mail/send_authentication_token.tt2.html b/templates/mail/send_authentication_token.tt2.html new file mode 100644 index 0000000..3849c42 --- /dev/null +++ b/templates/mail/send_authentication_token.tt2.html @@ -0,0 +1,12 @@ +<p> + [% lh.maketext("This is an email challenge automatically sent to you by eduGAIN Access Check.") %] + [% lh.maketext("Somebody with IP address [_1] has requested to create test accounts for eduGAIN Service Provider with entityID [_2].", sourceip, entityid) %] + [% lh.maketext("The address [_1] is mentioned in the eduGAIN metadata as a contact for this Service Provider.", to) %] +</p> + +<p>[% lh.maketext("To complete the creation of test accounts, paste the following validation token in <a href=\"[_1]\">eduGAIN Access Check</a>: [_2].", challenge_url, token) %]</p> + +<p>[% lh.maketext("If the creation of test accounts was not initiated by you or a fellow administrator for the above Service Provider, please forward this email and contact [_1] to inform them about a potential abuse of the eduGAIN Access Check service.", app.support_email) %]</p> + +<p>[% lh.maketext("Best Regards") %]</p> +<p>eduGAIN Access Check Bot</p> diff --git a/templates/renater/mail/send_authentication_token.tt2.html b/templates/renater/mail/send_authentication_token.tt2.html new file mode 100644 index 0000000..3849c42 --- /dev/null +++ b/templates/renater/mail/send_authentication_token.tt2.html @@ -0,0 +1,12 @@ +<p> + [% lh.maketext("This is an email challenge automatically sent to you by eduGAIN Access Check.") %] + [% lh.maketext("Somebody with IP address [_1] has requested to create test accounts for eduGAIN Service Provider with entityID [_2].", sourceip, entityid) %] + [% lh.maketext("The address [_1] is mentioned in the eduGAIN metadata as a contact for this Service Provider.", to) %] +</p> + +<p>[% lh.maketext("To complete the creation of test accounts, paste the following validation token in <a href=\"[_1]\">eduGAIN Access Check</a>: [_2].", challenge_url, token) %]</p> + +<p>[% lh.maketext("If the creation of test accounts was not initiated by you or a fellow administrator for the above Service Provider, please forward this email and contact [_1] to inform them about a potential abuse of the eduGAIN Access Check service.", app.support_email) %]</p> + +<p>[% lh.maketext("Best Regards") %]</p> +<p>eduGAIN Access Check Bot</p> -- GitLab