Make the in dialog set-password flow work with requiredEmail.
* In set_password.ejs, only show the "cancel" button if not setting the initial password for a required email. * Update required_email.js to handle the set-password in dialog flow. * Clean up required_email.js so that it is easier to follow. * Rename the "add_email_submit_with_secondary" message to "stage_email" - much clearer. * Show a message whenever resetting the account password. issue #1638 issue #1580
Showing
- resources/static/dialog/controllers/required_email.js 55 additions, 25 deletionsresources/static/dialog/controllers/required_email.js
- resources/static/dialog/controllers/set_password.js 2 additions, 1 deletionresources/static/dialog/controllers/set_password.js
- resources/static/dialog/resources/helpers.js 1 addition, 1 deletionresources/static/dialog/resources/helpers.js
- resources/static/dialog/resources/state.js 10 additions, 1 deletionresources/static/dialog/resources/state.js
- resources/static/dialog/views/set_password.ejs 10 additions, 6 deletionsresources/static/dialog/views/set_password.ejs
- resources/static/test/cases/controllers/add_email.js 16 additions, 16 deletionsresources/static/test/cases/controllers/add_email.js
- resources/static/test/cases/controllers/required_email.js 46 additions, 10 deletionsresources/static/test/cases/controllers/required_email.js
- resources/static/test/cases/controllers/set_password.js 9 additions, 1 deletionresources/static/test/cases/controllers/set_password.js
- resources/static/test/cases/resources/helpers.js 2 additions, 3 deletionsresources/static/test/cases/resources/helpers.js
- resources/static/test/cases/resources/state.js 39 additions, 14 deletionsresources/static/test/cases/resources/state.js
Loading
Please register or sign in to comment