Merge pull request #23349 from overleaf/jel-managed-unlinked-email-notification

[web] Add message about resetting password when user is managed and unlinked

GitOrigin-RevId: e9d6692f17f31d9d63cb13436018ce9fe6986106
This commit is contained in:
Jessica Lawshe
2025-02-26 09:19:19 -06:00
committed by Copybot
parent da8b3c429b
commit 44c7ad1f32
@@ -536,7 +536,14 @@ templates.groupSSOReauthenticate = ctaTemplate({
]
},
secondaryMessage(opts) {
return [``]
if (!opts.isManagedUser) {
return ['']
} else {
const passwordResetUrl = `${settings.siteUrl}/user/password/reset`
return [
`If youre not currently logged in to Overleaf, you'll need to <a href="${passwordResetUrl}">set a new password</a> to reauthenticate.`,
]
}
},
ctaURL(opts) {
return opts.authenticateWithSSO