<commit_before>angular.module('Aggie')
  .controller('LoginController', [
    '$scope',
    '$state',
    '$rootScope',
    'AuthService',
    '$location',
    'FlashService',
    function($scope, $state, $rootScope, AuthService, $location, flash) {
      $scope.login = function(form) {
        AuthService.login({
            'username': $scope.user.username,
            'password': <PASSWORD>
          },
          function(err) {
            if (!err) {
              flash.setNotice('You have been successfully logged in.');
              $state.go('reports');
            } else {
              flash.setAlertNow(err.data);
            }
        });
      };
    }
  ]);<commit_msg>Nix the 'Successfully logged in' alert<commit_after>angular.module('Aggie')
  .controller('LoginController', [
    '$scope',
    '$state',
    '$rootScope',
    'AuthService',
    '$location',
    'FlashService',
    function($scope, $state, $rootScope, AuthService, $location, flash) {
      $scope.login = function(form) {
        AuthService.login({
            'username': $scope.user.username,
            'password': $<PASSWORD>
          },
          function(err) {
            if (!err) {
              $state.go('reports');
            } else {
              flash.setAlertNow(err.data);
            }
        });
      };
    }
  ]);
{'fraction_non_alphanumeric': 0.16041979010494753, 'fraction_numerical': 0.0, 'mean_word_length': 1.8404255319148937, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4539588', 'n_tokens_mistral': 386, 'n_tokens_neox': 378, 'n_words': 65}