From a6ae90ac2a74871331707751e823b4746136ff09 Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Thu, 17 Dec 2015 12:44:46 -0500 Subject: Add ability to switch between SSO and email account --- api/templates/signin_change_body.html | 43 ++++++++++++++++++++++++++++++++ api/templates/signin_change_subject.html | 1 + 2 files changed, 44 insertions(+) create mode 100644 api/templates/signin_change_body.html create mode 100644 api/templates/signin_change_subject.html (limited to 'api/templates') diff --git a/api/templates/signin_change_body.html b/api/templates/signin_change_body.html new file mode 100644 index 000000000..5b96df944 --- /dev/null +++ b/api/templates/signin_change_body.html @@ -0,0 +1,43 @@ +{{define "signin_change_body"}} + + + + + +
+ + + + +
+ + + + + + + + + {{template "email_footer" . }} + +
+ +
+ + + + + + {{template "email_info" . }} + +
+

You updated your sign-in method

+

You updated your sign-in method for {{.Props.TeamDisplayName}} on {{ .Props.TeamURL }} to {{.Props.Method}}.
If this change wasn't initiated by you, please contact your system administrator.

+
+
+
+
+ +{{end}} + + diff --git a/api/templates/signin_change_subject.html b/api/templates/signin_change_subject.html new file mode 100644 index 000000000..b1d644a28 --- /dev/null +++ b/api/templates/signin_change_subject.html @@ -0,0 +1 @@ +{{define "signin_change_subject"}}You updated your sign-in method for {{.Props.TeamDisplayName}} on {{ .ClientCfg.SiteName }}{{end}} -- cgit v1.2.3-1-g7c22