mirror of
https://github.com/strapi/strapi.git
synced 2025-10-13 17:15:33 +00:00
Fix getAbsoluteServerUrl import in auth.js
This commit is contained in:
parent
2e7acfce8d
commit
dbc8aae306
@ -17,7 +17,7 @@ const {
|
||||
validateSendEmailConfirmationBody,
|
||||
} = require('./validation/auth');
|
||||
|
||||
const { sanitize } = utils;
|
||||
const { getAbsoluteServerUrl, sanitize } = utils;
|
||||
const { ApplicationError, ValidationError } = utils.errors;
|
||||
|
||||
const emailRegExp = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
||||
|
Loading…
x
Reference in New Issue
Block a user