PageSourceSearch

https://recibos.munlsanmartin.gov.ar/RecibosDigitales/vistas/validarToken/validarTokenController.js

js munlsanmartin.gov.ar collected 2026-10-03 00:54:09 UTC 1,576 bytes, 36 lines download raw bytes

1'use strict';
2angular.module('adf').controller('validarTokenController', ['genericService', 'sessionService', '$location', '$scope', '$rootScope', 'cryptoService', '$routeParams', 'modalGenericoFactory', function(genericService, sessionService, $location, $scope, $rootScope, cryptoService, $routeParams, modalGenericoFactory) {
3
4    $scope.token = new Token();
5    $rootScope.$broadcast('usuario_logueado', 0);
6    $scope.token.token = $routeParams.token;
7    $scope.token.accion = 'ACTIVAR_CUENTA';
8   // $scope.captcha = '';
9    $scope.validarToken = function(response) {
10        genericService.post('security/validarToken', $scope.token).then(function(response) {
11            switch (response.resultado) {
12                case 0:
13                    {
14                        modalGenericoFactory.cuentaActivada();
15                        sessionService.destroy(true);
16                        $location.url('login');
17                        break;
18                    }
19                case -1:
20                    {
21                        modalGenericoFactory.tokenInvalido();
22                        sessionService.destroy(true);
23                        $location.url('login');
24                        break;
25                    }
26                case -2:
27                    {
28                        modalGenericoFactory.tokenExpirado();
29                        sessionService.destroy(true);
30                        $location.url('login');
31                        break;
32                    }
33            }
34        });
35    };
36}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.