File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
templates/app/client/app/account(auth)/login Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ <h1>Login</h1>
2828 Please enter a valid email.
2929 </ p >
3030
31- < p class ="help-block "> {{ vm.errors.other }}</ p >
31+ < p class ="help-block "> {{ vm.errors.login }}</ p >
3232 </ div >
3333
3434 < div >
Original file line number Diff line number Diff line change 2727 .form-group.has-error
2828 p.help-block ( ng-show ='form.email.$error.required && form.password.$error.required && vm.submitted' )
2929 | Please enter your email and password.
30- p.help-block {{ vm.errors.other }}
30+ p.help-block {{ vm.errors.login }}
3131
3232 div
3333 button.btn.btn-inverse.btn-lg.btn-login ( type ='submit' )
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export default class LoginController {
2525 < % if ( filters . ngroute ) { % > this . $location . path ( '/' ) ; < % } % > < % if ( filters . uirouter ) { % > this . $state . go ( 'main' ) ; < % } % >
2626 } )
2727 . catch ( err => {
28- this . errors . other = err . message ;
28+ this . errors . login = err . message ;
2929 } ) ;
3030 }
3131 }
You can’t perform that action at this time.
0 commit comments