teamcodeyard / tir-api

Web gateway for project TIR
1 stars 1 forks source link

POST - Create User - Accepted whitespaces in password #7

Open GCsabi opened 9 months ago

GCsabi commented 9 months ago

Steps to reproduce the issue:

Local dev environment must be running
From Postman sending the following request to the given endpoint(Reg_Password_validation_spaces_after&before)

Expected Result: "message" : "The password must be at least 10 characters, must contain numeric characters, minimum 1 uppercase letter [A-Z] and minimum 1 special character"

Actual Result: Status code 200 OK

Please see more details in the picture below

image