Catch more errors after login call
parent
7bd03e221c
commit
5dc860fb1e
|
@ -169,7 +169,6 @@ LoginDirective = ($auth, $confirm, $location, $config) ->
|
||||||
$location.path("/project/project-example-0/backlog")
|
$location.path("/project/project-example-0/backlog")
|
||||||
|
|
||||||
promise.then null, (response) ->
|
promise.then null, (response) ->
|
||||||
if response.data._error_message
|
|
||||||
$confirm.notify("light-error", "According to our Oompa Loompas,
|
$confirm.notify("light-error", "According to our Oompa Loompas,
|
||||||
your username/email or password
|
your username/email or password
|
||||||
are incorrect.") #TODO: i18n
|
are incorrect.") #TODO: i18n
|
||||||
|
|
Loading…
Reference in New Issue