Cleaned adminPanel and started adding User mgmt
This commit is contained in:
parent
cde60bb78d
commit
064109556c
11 changed files with 153 additions and 54 deletions
|
|
@ -27,7 +27,7 @@ module.exports.accountValidator = {
|
|||
|
||||
email: (field = 'email') => body(field).optional().isEmail().normalizeEmail(),
|
||||
|
||||
img: (field = 'img') => body(field).optional().isURL({require_tld: false}).trim(),
|
||||
img: (field = 'img') => body(field).optional().isURL({require_tld: false, require_host: false}).trim(),
|
||||
|
||||
signature: (field = 'signature') => body(field).optional().escape().trim().isLength({min: 1, max: 150}),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue