mirror of
https://github.com/strapi/strapi.git
synced 2025-10-14 01:24:10 +00:00
Fix getAbsoluteServerUrl import in auth.js
This commit is contained in:
parent
2e7acfce8d
commit
dbc8aae306
@ -17,7 +17,7 @@ const {
|
|||||||
validateSendEmailConfirmationBody,
|
validateSendEmailConfirmationBody,
|
||||||
} = require('./validation/auth');
|
} = require('./validation/auth');
|
||||||
|
|
||||||
const { sanitize } = utils;
|
const { getAbsoluteServerUrl, sanitize } = utils;
|
||||||
const { ApplicationError, ValidationError } = utils.errors;
|
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,}))$/;
|
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