Commit 2f459e2b6d1ecf2aa35f4490ac5d372c8c39e1ec
1 parent
7a2bb295
Exists in
master
and in
1 other branch
Return null when failed to login
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/app/components/auth/auth.service.js
... | ... | @@ -31,7 +31,8 @@ |
31 | 31 | function loginFailedCallback(response) { |
32 | 32 | $log.debug('AuthService.login [FAIL] response', response); |
33 | 33 | $rootScope.$broadcast('login-failed'); |
34 | - return $q.reject(response); | |
34 | + // return $q.reject(response); | |
35 | + return null; | |
35 | 36 | } |
36 | 37 | |
37 | 38 | function logout () { | ... | ... |