浏览代码

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
Alexandre Bourdin 2 年之前
父节点
当前提交
0d00c3952c
共有 1 个文件被更改,包括 9 次插入 和 1 次删除
  1. 9 1
      services/web/test/acceptance/src/helpers/Subscription.js

+ 9 - 1
services/web/test/acceptance/src/helpers/Subscription.js

@@ -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
       )
     })