mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 07:09:02 +02:00
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:
@@ -536,7 +536,14 @@ templates.groupSSOReauthenticate = ctaTemplate({
|
||||
]
|
||||
},
|
||||
secondaryMessage(opts) {
|
||||
return [``]
|
||||
if (!opts.isManagedUser) {
|
||||
return ['']
|
||||
} else {
|
||||
const passwordResetUrl = `${settings.siteUrl}/user/password/reset`
|
||||
return [
|
||||
`If you’re 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
|
||||
|
||||
Reference in New Issue
Block a user