Merge pull request #5688 from overleaf/jpa-invalid-password-message
[web] password reset: validate user password ahead of invalidating token GitOrigin-RevId: ba3e6549f53675a2216e2fc24293276c1968d416
This commit is contained in:
@@ -54,6 +54,9 @@ describe('PasswordResetController', function () {
|
||||
requires: {
|
||||
'@overleaf/settings': this.settings,
|
||||
'./PasswordResetHandler': this.PasswordResetHandler,
|
||||
'../Authentication/AuthenticationManager': {
|
||||
validatePassword: sinon.stub().returns(null),
|
||||
},
|
||||
'../Authentication/AuthenticationController': (this.AuthenticationController = {
|
||||
getLoggedInUserId: sinon.stub(),
|
||||
finishLogin: sinon.stub(),
|
||||
|
||||
Reference in New Issue
Block a user