mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #12632 from overleaf/jdt-jpa-sso-notification-logging
[web] fallback to providerName when displaying SSO-linked notification GitOrigin-RevId: 0da4a570f8a704cdbd47b5905a21273c6ab85d6d
This commit is contained in:
parent
c8f7bc54bc
commit
66d91dfd61
1 changed files with 3 additions and 1 deletions
|
@ -216,7 +216,9 @@ async function projectListPage(req, res, next) {
|
|||
if (samlSession.linked) {
|
||||
notificationsInstitution.push({
|
||||
email: samlSession.institutionEmail,
|
||||
institutionName: samlSession.linked.universityName,
|
||||
institutionName:
|
||||
samlSession.linked.universityName ||
|
||||
samlSession.linked.providerName,
|
||||
templateKey: 'notification_institution_sso_linked',
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue