<commit_before>angular
    .module('just.common')
    /**
     * @ngdoc controller
     * @name just.common.controller:ResetPasswordCtrl
     *
     */
    .controller('ResetPasswordCtrl', ['authService', '$routeParams', 'Resources', 'justFlowService', 'justRoutes', function (authService, $routeParams, Resources, flow, routes) {
        var that = this;

        this.model = {data: {attributes: {"one-time-token": $routeParams.token, "password": <PASSWORD>}}};
        this.message = "";

        authService.checkPromoCode();

        if (authService.isAuthenticated()) {
            flow.replace(routes.global.start.url);
        }

        this.changePassword = function () {
            Resources.userChangePassword.create({}, that.model, function () {
                flow.replace(routes.user.signin.url);
            }, function (response) {<commit_msg>remove token check for reset password<commit_after>angular
    .module('just.common')
    /**
     * @ngdoc controller
     * @name just.common.controller:ResetPasswordCtrl
     *
     */
    .controller('ResetPasswordCtrl', ['authService', '$routeParams', 'Resources', 'justFlowService', 'justRoutes', function (authService, $routeParams, Resources, flow, routes) {
        var that = this;

        this.model = {data: {attributes: {"one-time-token": $routeParams.token, "password": <PASSWORD>}}};
        this.message = "";

        if (authService.isAuthenticated()) {
            flow.replace(routes.global.start.url);
        }

        this.changePassword = function () {
            Resources.userChangePassword.create({}, that.model, function () {
                flow.replace(routes.user.signin.url);
            }, function (response) {
{'fraction_non_alphanumeric': 0.1486249268578116, 'fraction_numerical': 0.0, 'mean_word_length': 2.774834437086093, 'pattern_counts': {'":': 4, '<': 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': '7581877', 'n_tokens_mistral': 471, 'n_tokens_neox': 465, 'n_words': 86}