<commit_before>'use strict';

angular.module('impactApp')
  .controller('AdminActivationCtrl', function($scope, $location, $anchorScroll, User) {
    this.searchAndActive = function() {
      User.activate({email:$scope.mail}).$promise.catch(function(res) {
        if (res.status === 200) {
          $scope.message = 'Compte activé';
        }

        if (res.status === 304) {
          $scope.message = 'Compte deja actif';
        }

        if (res.status === 404) {
          $scope.message = 'Compte inconu';
        }
      });
    };<commit_msg>Correction orthographique (#329)<commit_after>'use strict';

angular.module('impactApp')
  .controller('AdminActivationCtrl', function($scope, $location, $anchorScroll, User) {
    this.searchAndActive = function() {
      User.activate({email:$scope.mail}).$promise.catch(function(res) {
        if (res.status === 200) {
          $scope.message = 'Compte activé';
        }

        if (res.status === 304) {
          $scope.message = 'Compte deja actif';
        }

        if (res.status === 404) {
          $scope.message = 'Compte inconnu';
        }
      });
    };
{'fraction_non_alphanumeric': 0.16519434628975266, 'fraction_numerical': 0.018551236749116608, 'mean_word_length': 2.443768996960486, 'pattern_counts': {'":': 0, '<': 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': '12104', 'n_tokens_mistral': 371, 'n_tokens_neox': 340, 'n_words': 62}