<commit_before>Darkswarm.controller "SignupCtrl", ($scope, $http, $window, $location, Redirections, AuthenticationService) ->
  $scope.path = "/signup"

  $scope.spree_user.password_confirmation = ''

  $scope.errors =
    email: null
    password: <PASSWORD>

  $scope.submit = ->
    $http.post("/user/spree_user", {spree_user: $scope.spree_user}).success (data)->
       $scope.messages = t('devise.user_registrations.spree_user.signed_up_but_unconfirmed')<commit_msg>Remove stale form validation messages when showing new confirmation sent message<commit_after>Darkswarm.controller "SignupCtrl", ($scope, $http, $window, $location, Redirections, AuthenticationService) ->
  $scope.path = "/signup"

  $scope.spree_user.password_confirmation = ''

  $scope.errors =
    email: null
    password: <PASSWORD>

  $scope.submit = ->
    $http.post("/user/spree_user", {spree_user: $scope.spree_user}).success (data)->
      $scope.errors = {email: null, password: <PASSWORD>}
      $scope.messages = t('devise.user_registrations.spree_user.signed_up_but_unconfirmed')
{'fraction_non_alphanumeric': 0.14634146341463414, 'fraction_numerical': 0.0, 'mean_word_length': 4.895027624309392, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4631553', 'n_tokens_mistral': 355, 'n_tokens_neox': 343, 'n_words': 60}