diff --git a/app/coffee/modules/auth.coffee b/app/coffee/modules/auth.coffee index e3a1c720..f0317abc 100644 --- a/app/coffee/modules/auth.coffee +++ b/app/coffee/modules/auth.coffee @@ -169,10 +169,9 @@ LoginDirective = ($auth, $confirm, $location, $config) -> $location.path("/project/project-example-0/backlog") promise.then null, (response) -> - if response.data._error_message - $confirm.notify("light-error", "According to our Oompa Loompas, - your username/email or password - are incorrect.") #TODO: i18n + $confirm.notify("light-error", "According to our Oompa Loompas, + your username/email or password + are incorrect.") #TODO: i18n $el.on "submit", (event) -> event.preventDefault()