<commit_before>'use strict';

var Boom = require('boom');

exports.postForm = {
    auth: {
        strategy: 'standard'
    },
    handler: function(request, reply) {
        request.auth.session.clear();
        console.log('sdsd');
        return reply(Boom.create(200, 'Successfully logged out'));
    }
};<commit_msg>Fix logout bug<commit_after>'use strict';

var Boom = require('boom');

exports.postForm = {
    auth: {
        strategy: 'standard'
    },
    handler: function(request, reply) {
        request.auth.session.clear();

        return reply({
            "statusCode": 200,
            "message": "Successfully logged out."
        });
    }
};
{'fraction_non_alphanumeric': 0.15315315315315314, 'fraction_numerical': 0.009009009009009009, 'mean_word_length': 2.4381443298969074, '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': '5259838', 'n_tokens_mistral': 207, 'n_tokens_neox': 202, 'n_words': 42}