thedevsaddam / govalidator

Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
MIT License
1.32k stars 122 forks source link

confirm password validation #105

Open ABD-ULZIZMAHMOUD opened 3 years ago

ABD-ULZIZMAHMOUD commented 3 years ago

how to make confirm password validation in custom role ? how to access anther filed pram in custom role ?

ISNewton commented 4 months ago

Encode the request body and get the original password value and compare it to custom rule value