Merge pull request #17234 from overleaf/jel-clear-saml-data

[web] Clear linking data for all linked users in group

GitOrigin-RevId: 1b7b3642a37a33c8b1499aee9c98300551bccea0
This commit is contained in:
Jessica Lawshe 2024-03-13 08:36:42 -05:00 committed by Copybot
parent 57cb195409
commit 8d4766f5fa

View file

@ -516,6 +516,37 @@ templates.groupSSOLinkingInvite = ctaTemplate({
},
})
templates.groupSSOReauthenticate = ctaTemplate({
subject(opts) {
return 'Action required: Reauthenticate your Overleaf account'
},
title(opts) {
return 'Action required: Reauthenticate SSO'
},
message(opts) {
return [
`Hi,
<div>
Single sign-on for your Overleaf group has been updated.
This means you need to reauthenticate your Overleaf account with your groups SSO provider.
</div>
`,
]
},
secondaryMessage(opts) {
return [``]
},
ctaURL(opts) {
return opts.authenticateWithSSO
},
ctaText(opts) {
return 'Reauthenticate now'
},
greeting() {
return ''
},
})
templates.groupSSODisabled = ctaTemplate({
subject(opts) {
return `Action required: Set your Overleaf password`