On the manage page, only show the change password section if the user has at least one secondary.
* To user, add canSetPassword, hasSecondaries. * Add unit tests for these functions as well as setPassword.
Showing
- resources/static/css/style.css 5 additions, 0 deletionsresources/static/css/style.css
- resources/static/pages/manage_account.js 11 additions, 4 deletionsresources/static/pages/manage_account.js
- resources/static/shared/user.js 35 additions, 0 deletionsresources/static/shared/user.js
- resources/static/test/qunit/mocks/xhr.js 3 additions, 2 deletionsresources/static/test/qunit/mocks/xhr.js
- resources/static/test/qunit/pages/manage_account_unit_test.js 19 additions, 4 deletions...urces/static/test/qunit/pages/manage_account_unit_test.js
- resources/static/test/qunit/shared/user_unit_test.js 52 additions, 7 deletionsresources/static/test/qunit/shared/user_unit_test.js
Loading
Please register or sign in to comment