mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Re-export doLogout (was removed from exports in commit b9fb636).
This commit is contained in:
@@ -102,7 +102,7 @@ const SAMLAuthenticationController = {
|
||||
},
|
||||
async passportLogout(req, res, next) {
|
||||
passport._strategy('saml').logout(req, async (err, url) => {
|
||||
await UserController.promises.doLogout(req)
|
||||
await UserController.doLogout(req)
|
||||
if (err) return next(err)
|
||||
res.redirect(url)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user