Update the add_email page to handle when a user has to enter their password.
* Change the add_email_address page to be Module based. * Show the site info always. * Add User.tokenInfo which gets the email address and site for a token. * Add page.checkRequired which checks an options block for required fields. * Rename pages/browserid.js to pages/start.js
Showing
- resources/static/css/style.css 7 additions, 3 deletionsresources/static/css/style.css
- resources/static/dialog/controllers/page.js 9 additions, 0 deletionsresources/static/dialog/controllers/page.js
- resources/static/pages/add_email_address.js 99 additions, 22 deletionsresources/static/pages/add_email_address.js
- resources/static/pages/start.js 5 additions, 2 deletionsresources/static/pages/start.js
- resources/static/shared/error-messages.js 8 additions, 0 deletionsresources/static/shared/error-messages.js
- resources/static/shared/user.js 46 additions, 19 deletionsresources/static/shared/user.js
- resources/static/test/qunit/controllers/page_unit_test.js 4 additions, 0 deletionsresources/static/test/qunit/controllers/page_unit_test.js
- resources/static/test/qunit/pages/add_email_address_test.js 124 additions, 17 deletionsresources/static/test/qunit/pages/add_email_address_test.js
- resources/static/test/qunit/shared/user_unit_test.js 69 additions, 11 deletionsresources/static/test/qunit/shared/user_unit_test.js
- resources/views/add_email_address.ejs 3 additions, 4 deletionsresources/views/add_email_address.ejs
- resources/views/layout.ejs 4 additions, 1 deletionresources/views/layout.ejs
- scripts/compress.sh 1 addition, 1 deletionscripts/compress.sh
Loading
Please register or sign in to comment