mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-11 23:20:47 +02:00
Merge pull request #3629 from overleaf/jel-ui-reconfirm-dash
Show reconfirm notification on the dash GitOrigin-RevId: 4640513a299853a63c5f36b3e11b41ee66af61de
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
const _ = require('lodash')
|
||||
const Path = require('path')
|
||||
const OError = require('@overleaf/o-error')
|
||||
const fs = require('fs')
|
||||
@@ -476,7 +477,9 @@ const ProjectController = {
|
||||
}
|
||||
|
||||
// Institution SSO Notifications
|
||||
let reconfirmedViaSAML
|
||||
if (Features.hasFeature('saml')) {
|
||||
reconfirmedViaSAML = _.get(req.session, ['saml', 'reconfirmed'])
|
||||
const samlSession = req.session.saml
|
||||
// Notification: SSO Available
|
||||
const linkedInstitutionIds = []
|
||||
@@ -581,6 +584,7 @@ const ProjectController = {
|
||||
userAffiliations,
|
||||
userEmails,
|
||||
hasSubscription: results.hasSubscription,
|
||||
reconfirmedViaSAML,
|
||||
zipFileSizeLimit: Settings.maxUploadSize
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user