<commit_before>Template.login.events({
  "submit .form-login": function(event, template) {
    event.preventDefault();
    Meteor.loginWithPassword(
      template.find("#login-username").value,
      template.find("#login-password").value,
      function(error) {
        if (error) {
          errorHandler.showError(template, error);
          Router.go('login');
        } else {
          Router.go('backlogList');
        }
      }
    );
  }
});<commit_msg>Changed default page after login to home page, showing tasks for this sprint.<commit_after>Template.login.events({
  "submit .form-login": function(event, template) {
    event.preventDefault();
    Meteor.loginWithPassword(
      template.find("#login-username").value,
      template.find("#login-password").value,
      function(error) {
        if (error) {
          errorHandler.showError(template, error);
          Router.go('login');
        } else {
          Router.go('/');
        }
      }
    );
  }
});
{'fraction_non_alphanumeric': 0.15173116089613034, 'fraction_numerical': 0.0, 'mean_word_length': 2.449122807017544, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, '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': '6171507', 'n_tokens_mistral': 281, 'n_tokens_neox': 276, 'n_words': 46}