fix yup validation on password change
This commit is contained in:
@@ -23,7 +23,6 @@ export interface UserPasswordRequestBody {
|
||||
|
||||
const schema = {
|
||||
POST: yup.object().shape({
|
||||
id: yup.string().uuid().required(),
|
||||
currentPassword: yup.string().required(),
|
||||
newPassword: yup.string().min(8).required(),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user