Complete add a new email.
* helpers.addEmail triggers either "primary_user" or "add_email_submit_with_secondary" * Add states to the stage machine to handle add_email_submit_with_secondary to either set a password or stage the user. * Add two helper functions in storage.js, addPrimaryEmail and addSecondaryEmail
Showing
- resources/static/dialog/resources/helpers.js 3 additions, 12 deletionsresources/static/dialog/resources/helpers.js
- resources/static/dialog/resources/state.js 10 additions, 3 deletionsresources/static/dialog/resources/state.js
- resources/static/shared/storage.js 22 additions, 0 deletionsresources/static/shared/storage.js
- resources/static/shared/user.js 3 additions, 1 deletionresources/static/shared/user.js
- resources/static/test/cases/controllers/add_email.js 32 additions, 14 deletionsresources/static/test/cases/controllers/add_email.js
- resources/static/test/cases/controllers/required_email.js 4 additions, 4 deletionsresources/static/test/cases/controllers/required_email.js
- resources/static/test/cases/resources/helpers.js 4 additions, 23 deletionsresources/static/test/cases/resources/helpers.js
- resources/static/test/cases/resources/state.js 46 additions, 1 deletionresources/static/test/cases/resources/state.js
- resources/static/test/cases/shared/helpers.js 1 addition, 1 deletionresources/static/test/cases/shared/helpers.js
- resources/static/test/cases/shared/storage.js 14 additions, 0 deletionsresources/static/test/cases/shared/storage.js
Loading
Please register or sign in to comment