File tree 3 files changed +3
-3
lines changed
templates/app/client/app/account(auth)/login
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ <h1>Login</h1>
28
28
Please enter a valid email.
29
29
</ p >
30
30
31
- < p class ="help-block "> {{ vm.errors.other }}</ p >
31
+ < p class ="help-block "> {{ vm.errors.login }}</ p >
32
32
</ div >
33
33
34
34
< div >
Original file line number Diff line number Diff line change 27
27
.form-group.has-error
28
28
p.help-block ( ng-show ='form.email.$error.required && form.password.$error.required && vm.submitted' )
29
29
| Please enter your email and password.
30
- p.help-block {{ vm.errors.other }}
30
+ p.help-block {{ vm.errors.login }}
31
31
32
32
div
33
33
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 {
25
25
< % if ( filters . ngroute ) { % > this . $location . path ( '/' ) ; < % } % > < % if ( filters . uirouter ) { % > this . $state . go ( 'main' ) ; < % } % >
26
26
} )
27
27
. catch ( err => {
28
- this . errors . other = err . message ;
28
+ this . errors . login = err . message ;
29
29
} ) ;
30
30
}
31
31
}
You can’t perform that action at this time.
0 commit comments