Commit 6bd138fc7187baff4998bd28696e2233ef566974
Exists in
master
and in
1 other branch
Merge branch 'master' of git.ucsd.edu:110swag/flashy-frontend
Showing 4 changed files Side-by-side Diff
config.js
View file @
6bd138f
... | ... | @@ -67,8 +67,7 @@ |
67 | 67 | controller: 'RequestResetController' |
68 | 68 | }). |
69 | 69 | state('resetpassword', { |
70 | - url: '/resetpassword', | |
71 | - url: '/resetpassword/*', | |
70 | + url: '/resetpassword/{uid}/{token}', | |
72 | 71 | templateUrl: 'templates/resetpassword.html', |
73 | 72 | controller: 'ResetPasswordController' |
74 | 73 | }); |
templates/login.html
View file @
6bd138f
templates/requestpasswordreset.html
View file @
6bd138f
templates/resetpassword.html
View file @
6bd138f
1 | -<div class="row" ng-hide="success"> | |
1 | +<div class="row" ng-show="success"> | |
2 | 2 | <h1>Reset password successful!</h1> |
3 | 3 | </div> |
4 | 4 | |
5 | -<div class="container" ng-show="success"> | |
5 | +<div class="container" ng-hide="success"> | |
6 | 6 | <div class="row"> |
7 | 7 | <div class="offset-s2 col s8"> |
8 | 8 | <div class="card"> |