         error   : ({responseJSON}) =>
           track 'entered an invalid username'
 
+          @form.emit 'FormSubmitFailed'
+
           unless responseJSON
             return new kd.NotificationView
               title: 'Something went wrong'

      track 'submitted register form'
      checkUsername = yes


    { username } = formData

    teamData = utils.getTeamData()
    { slug } = teamData.domain
    if username is slug
      return new kd.NotificationView title : "Sorry, your group domain and your username can not be the same!"

    success = =>

          { protocol, host } = location
          location.href      = "#{protocol}//#{slug}.#{host}/-/confirm?token=#{data.token}"
        error : ({responseText}) =>
          @form.emit 'FormSubmitFailed'

          if /TwoFactor/.test responseText
            track 'requires two-factor authentication'
