mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-27 16:12:27 +00:00
Merge pull request #16924 from overleaf/jel-clear-sessions-after-linking
[web] Clear other sessions after linking group SSO for managed users GitOrigin-RevId: 0671154a34bf67532bad64f1abbdb8a332ab480a
This commit is contained in:
parent
377cd82f20
commit
0d00c3952c
1 changed files with 9 additions and 1 deletions
|
@ -138,7 +138,14 @@ class Subscription {
|
|||
})
|
||||
}
|
||||
|
||||
linkGroupSSO(user, externalUserId, userIdAttribute, auditLog, callback) {
|
||||
linkGroupSSO(
|
||||
user,
|
||||
externalUserId,
|
||||
userIdAttribute,
|
||||
auditLog,
|
||||
sessionID,
|
||||
callback
|
||||
) {
|
||||
SubscriptionModel.findById(this._id).exec((error, subscription) => {
|
||||
if (error) {
|
||||
return callback(error)
|
||||
|
@ -150,6 +157,7 @@ class Subscription {
|
|||
externalUserId,
|
||||
userIdAttribute,
|
||||
auditLog,
|
||||
sessionID,
|
||||
callback
|
||||
)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue