<commit_before>Template.signup.events({
  "submit .form-signup": function(event, template) {
    event.preventDefault();

    var user = {
      username: template.find("#signup-username").value,
      email:    template.find("#signup-email").value,
      password: template.find("#signup-password").value,
      cleaning_time: template.find("#signup-cleaning-time").value,
      profile: {
        name: template.find("#signup-username").value,
      }
    }

    Meteor.call('newUser', user, function(error) {
      if (error) {
        console.log(error);
        Router.go('signup');
      } else {
        Meteor.loginWithPassword(
          user.username,
          user.password,
          function(loginError) {
            if (loginError) {
              console.log(loginError);
              Router.go('login');
            } else {
              Router.go('backlogList');
            }
          }
        );
      }
    });
  }
});
<commit_msg>Minor formatting change.<commit_after>Template.signup.events({
  "submit .form-signup": function(event, template) {
    event.preventDefault();

    var user = {
      username: template.find("#signup-username").value,
      email: template.find("#signup-email").value,
      password: <PASSWORD>,
      cleaning_time: template.find("#signup-cleaning-time").value,
      profile: {
        name: template.find("#signup-username").value,
      }
    }

    Meteor.call('newUser', user, function(error) {
      if (error) {
        console.log(error);
        Router.go('signup');
      } else {
        Meteor.loginWithPassword(
          user.username,
          user.password,
          function(loginError) {
            if (loginError) {
              console.log(loginError);
              Router.go('login');
            } else {
              Router.go('backlogList');
            }
          }
        );
      }
    });
  }
});

{'fraction_non_alphanumeric': 0.14844162704701533, 'fraction_numerical': 0.0, 'mean_word_length': 1.8871951219512195, 'pattern_counts': {'":': 2, '<': 4, '<?xml version=': 0, '>': 4, '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': '4413656', 'n_tokens_mistral': 555, 'n_tokens_neox': 543, 'n_words': 76}