Implemented update password functionality
This commit is contained in:
1 parent
1ba37a7ec9
commit
5a6cbcd325
4 files changed
+51
-1
No files matched your search
@@ -26,6 +26,8 @@ const editUserBodyValidation = joi.object({
|
||||
firstname: joi.string(),
|
||||
lastname: joi.string(),
|
||||
profileImage: joi.any(),
|
||||
newPassword: joi.string().min(8),
|
||||
password: joi.string().min(8),
|
||||
deleteProfileImage: joi.boolean(),
|
||||
role: joi.string(),
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user