Merge branch 'dev' into 4859-export_db
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2022-12-13 08:29:32 +00:00
commit 8900656b14
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ module.exports = Self => {
message: 'Invalid email', message: 'Invalid email',
allowNull: true, allowNull: true,
allowBlank: true, allowBlank: true,
with: /^[\w|.|-]+@[\w|-]+(\.[\w|-]+)*(,[\w|.|-]+@[\w|-]+(\.[\w|-]+)*)*$/ with: /^[\W]*([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{1,61}[\W]*,{1}[\W]*)*([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{1,61})[\W]*$/
}); });
Self.validatesLengthOf('postcode', { Self.validatesLengthOf('postcode', {