Detect duplicated users when accepting taiga invitation

stable
Alejandro Alonso 2016-01-07 10:22:50 +01:00
parent 12eccc3257
commit df75335f7b
1 changed files with 1 additions and 3 deletions

View File

@ -437,9 +437,7 @@ InvitationDirective = ($auth, $confirm, $location, $params, $navUrls, $analytics
$confirm.notify("success", text)
onErrorSubmitLogin = (response) ->
text = $translate.instant("INVITATION_LOGIN_FORM.ERROR")
$confirm.notify("light-error", text)
$confirm.notify("light-error", response.data._error_message)
submitLogin = debounce 2000, (event) =>
event.preventDefault()