diff --git a/services/web/app/src/Features/Email/EmailBuilder.js b/services/web/app/src/Features/Email/EmailBuilder.js index db68342d48..092d96cbbd 100644 --- a/services/web/app/src/Features/Email/EmailBuilder.js +++ b/services/web/app/src/Features/Email/EmailBuilder.js @@ -445,6 +445,45 @@ templates.inviteNewUserToJoinManagedUsers = ctaTemplate({ }, }) +templates.managedUsersEnabledSSO = ctaTemplate({ + subject(opts) { + return `Action required: Authenticate your Overleaf account` + }, + title(opts) { + return `Single sign-on enabled` + }, + message(opts) { + return [ + `Hi, +
+ Your group administrator has enabled single sign-on for your group. +
+
+
+ What does this mean for you? +
+
+
+ You won't need to remember a separate email address and password to sign in to Overleaf. + All you need to do is authenticate your existing Overleaf account with your SSO provider. +
+ `, + ] + }, + secondaryMessage(opts) { + return [``] + }, + ctaURL(opts) { + return opts.authenticateWithSSO + }, + ctaText(opts) { + return 'Authenticate with SSO' + }, + greeting() { + return '' + }, +}) + templates.managedUsersDisabledSSO = ctaTemplate({ subject(opts) { return `Action required: Set your Overleaf password`