mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #17221 from overleaf/jel-acceptance-tests
[web] Update SAML and group acceptance tests helpers GitOrigin-RevId: b31abf1e8d34169b5ee428186b6168c083a72d46
This commit is contained in:
parent
9127e59599
commit
6af122f5a2
1 changed files with 0 additions and 25 deletions
|
@ -153,31 +153,6 @@ class Subscription {
|
|||
})
|
||||
}
|
||||
|
||||
linkGroupSSO(
|
||||
user,
|
||||
externalUserId,
|
||||
userIdAttribute,
|
||||
auditLog,
|
||||
sessionID,
|
||||
callback
|
||||
) {
|
||||
SubscriptionModel.findById(this._id).exec((error, subscription) => {
|
||||
if (error) {
|
||||
return callback(error)
|
||||
}
|
||||
Modules.hooks.fire(
|
||||
'linkUserToGroupSSO',
|
||||
user._id,
|
||||
subscription,
|
||||
externalUserId,
|
||||
userIdAttribute,
|
||||
auditLog,
|
||||
sessionID,
|
||||
callback
|
||||
)
|
||||
})
|
||||
}
|
||||
|
||||
expectDeleted(deleterData, callback) {
|
||||
DeletedSubscriptionModel.find(
|
||||
{ 'subscription._id': this._id },
|
||||
|
|
Loading…
Reference in a new issue