Implementing two level auth in the dialog.
* If the user is not authenticated to "password" authentication when they select a secondary email, make them sign in. * Updaate required_email to do its own check for the user's authentication status. * Update the unit tests to make sure we are all kosher.
Showing
- resources/static/dialog/controllers/required_email.js 95 additions, 79 deletionsresources/static/dialog/controllers/required_email.js
- resources/static/dialog/resources/state_machine.js 3 additions, 3 deletionsresources/static/dialog/resources/state_machine.js
- resources/static/dialog/views/required_email.ejs 3 additions, 1 deletionresources/static/dialog/views/required_email.ejs
- resources/static/test/qunit/controllers/required_email_unit_test.js 58 additions, 72 deletions...static/test/qunit/controllers/required_email_unit_test.js
- resources/static/test/qunit/testHelpers/helpers.js 1 addition, 1 deletionresources/static/test/qunit/testHelpers/helpers.js
Loading
Please register or sign in to comment