Merge pull request #3883 from overleaf/bg-expire-tokens

expire tokens from mongo

GitOrigin-RevId: 5666fd40d04e122f2bc2a22bff24c0723e1e9a73
This commit is contained in:
Brian Gough
2021-04-08 02:05:04 +00:00
committed by Copybot
parent 0aba0300d1
commit 11b4d91d9e
2 changed files with 4 additions and 3 deletions
@@ -70,7 +70,7 @@ describe('UserEmailsConfirmationHandler', function() {
.calledWith(
'email_confirmation',
{ user_id: this.user_id, email: this.email },
{ expiresIn: 365 * 24 * 60 * 60 }
{ expiresIn: 90 * 24 * 60 * 60 }
)
.should.equal(true)
})