mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
@@ -28,6 +28,7 @@ const registerValidator = [
|
||||
const loginValidator = [
|
||||
body('email').isEmail().withMessage('Valid email is required.'),
|
||||
body('password').notEmpty().withMessage('Password is required.'),
|
||||
body('group_code').optional().isString().trim(),
|
||||
];
|
||||
|
||||
const verifyOTPValidator = [
|
||||
|
||||
Reference in New Issue
Block a user