<commit_before>import express from 'express';
import handlers from './handlers/auth';
import utils from '../utils';
import constants from '../utils/constants';

const router = express.Router();

<<<<<<< HEAD
router.get(
  '/registerUser',
  utils.isLoggedIn,
  utils.hasPrivilegeLevel.bind(null, constants.PRIVILEGES.EDITOR),
  handlers.registerUser
);
=======
router.get('/registerUser', utils.hasPrivilegeLevel.bind(null, constants.PRIVILEGES.EDITOR.ENUM), handlers.registerUser);
>>>>>>> 2add135e1484e6138e31ebbb0c8d4cef70ba2d40
router.get('/login', handlers.login);
router.get('/logout', utils.isLoggedIn, handlers.logout);
router.get('/auth', handlers.auth);

module.exports = router;<commit_msg>missed this merge conflict<commit_after>import express from 'express';
import handlers from './handlers/auth';
import utils from '../utils';
import constants from '../utils/constants';

const router = express.Router();

router.get(
  '/registerUser',
  utils.isLoggedIn,
  utils.hasPrivilegeLevel.bind(null, constants.PRIVILEGES.EDITOR.ENUM),
  handlers.registerUser
);

router.get('/login', handlers.login);
router.get('/logout', utils.isLoggedIn, handlers.logout);
router.get('/auth', handlers.auth);

module.exports = router;
{'fraction_non_alphanumeric': 0.1643612693246542, 'fraction_numerical': 0.01790073230268511, 'mean_word_length': 5.9491525423728815, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '7019638', 'n_tokens_mistral': 408, 'n_tokens_neox': 397, 'n_words': 76}