Merge pull request #7725 from overleaf/ta-settings-fixes

[SettingsPage] Misc Fixes

GitOrigin-RevId: 56f58d2bb5830f7e0584a83c98efc9989ae2bd42
This commit is contained in:
Timothée Alby
2022-04-26 08:04:18 +00:00
committed by Copybot
parent d3dc83b776
commit b289afe23c
15 changed files with 108 additions and 61 deletions
@@ -714,7 +714,7 @@ describe('UserController', function () {
expect(this.HttpErrorHandler.badRequest).to.have.been.calledWith(
this.req,
this.res,
'Your old password is wrong'
'password_change_old_password_wrong'
)
this.AuthenticationManager.promises.authenticate.should.have.been.calledWith(
{ _id: this.user._id },