Merge pull request #16190 from overleaf/revert-15519-em-upgrade-passport

Revert "Upgrade passport"

GitOrigin-RevId: 34a5442d6dae9623463908f92ab103bdc16f1b67
This commit is contained in:
Miguel Serrano
2023-12-12 09:04:23 +00:00
committed by Copybot
parent be9dd6de07
commit 369d5cb406
6 changed files with 95 additions and 85 deletions
@@ -173,7 +173,7 @@ describe('UserController', function () {
describe('tryDeleteUser', function () {
beforeEach(function () {
this.req.body.password = 'wat'
this.req.logout = sinon.stub().yields()
this.req.logout = sinon.stub()
this.req.session.destroy = sinon.stub().yields()
this.SessionManager.getLoggedInUserId = sinon
.stub()