user.js
‘use strict’; /** * Auth.js controller * * @description: A set of functions called “actions” for managing `Auth`. */ /* eslint-disable no-useless-escape */ const crypto = require(‘crypto’); const _ = require(‘lodash’); const utils = require(‘@strapi/utils’); const { getService } = require(‘../utils’); const { validateCallbackBody, validateRegisterBody, validateSendEmailConfirmationBody, } = require(‘./validation/auth’); const { sanitize } = utils; …