 ###
 
 taiga = @.taiga
+debounce = @.taiga.debounce
 
 module = angular.module("taigaAuth", ["taigaResources"])
 

            $confirm.notify("light-error", "According to our Oompa Loompas, your are not registered yet or
                                            typed an invalid password.") #TODO: i18n

        submitLogin = ->
            if not loginForm.validate()
                return



        # Login form
        $scope.dataLogin = {token: token}
        loginForm = $el.find("form.login-form").checksley({onlyOneErrorElement: true})

        onSuccessSubmitLogin = (response) ->
            $analytics.trackEvent("auth", "invitationAccept", "invitation accept with existing user", 1)
