Sync the e-mail list before attempting to remove an e-mail
Fixes #1123. This is probably a suboptimal fix. Ideally, there would be an API call that removes an e-mail and cancels the account iff there are no other addresses but it would be hard to combine this with the confirmation step.
Showing
- resources/static/pages/manage_account.js 22 additions, 18 deletionsresources/static/pages/manage_account.js
- resources/static/test/cases/pages/manage_account.js 19 additions, 1 deletionresources/static/test/cases/pages/manage_account.js
- resources/static/test/mocks/xhr.js 1 addition, 0 deletionsresources/static/test/mocks/xhr.js
Please register or sign in to comment