     agreesToPrivacyPolicy = @refs.agreesToPrivacyPolicy?.getDOMNode().checked
     badLoginChars?.length is 0 and not loginConflict and not passwordsDontMatch and not emailConflict and agreesToPrivacyPolicy
 
-  handleSubmit: ->
+  handleSubmit: (e) ->
+    e.preventDefault()
     login = @refs.login.getDOMNode().value
     password = @refs.password.getDOMNode().value
     email = @refs.email.getDOMNode().value


  debouncedCheckForLoginConflict: null
  checkForLoginConflict: (login) ->
    @promiseToSetState loginConflict: users.get({login}, 1).then (users) ->
      users.length isnt 0

  handlePasswordChange: ->

            <button type="button" onClick={@handleSignOut}><Translate content="registerForm.signOut" /></button>
          </span>}
      </div>
    </form>

  handleLoginChange: ->
    login = @refs.login.getDOMNode().value
