<commit_before>'use strict';

const Passport = require('passport');
const JwtStrategy = require('passport-jwt').Strategy;
const ExtractJwt = require('passport-jwt').ExtractJwt;
const SecurityConfig = require('./security-config');
const User = require('../models/user');
const CustomErrors = require('../helpers/custom-errors');

module.exports = function() {<commit_msg>Remove useless CustomErrors from passport config<commit_after>'use strict';

const Passport = require('passport');
const JwtStrategy = require('passport-jwt').Strategy;
const ExtractJwt = require('passport-jwt').ExtractJwt;
const SecurityConfig = require('./security-config');
const User = require('../models/user');

module.exports = function() {
{'fraction_non_alphanumeric': 0.1603905160390516, 'fraction_numerical': 0.0, 'mean_word_length': 6.720430107526882, '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': '6248196', 'n_tokens_mistral': 198, 'n_tokens_neox': 197, 'n_words': 46}