gentelella icon indicating copy to clipboard operation
gentelella copied to clipboard

Forms validation password restriction

Open parkdonggyu opened this issue 6 years ago • 3 comments

[Feature Request] in personal info, It is detected that Password and Repeat password are different, But, using a password length is not support any restriction. How about using regular expression to use support regular expression? :)

parkdonggyu avatar Jun 05 '20 18:06 parkdonggyu

Hey Can you elaborate it please

shivanandmanik avatar Jun 28 '20 11:06 shivanandmanik

i cant find javascript code but if use this

var password = /(?=.\d{1,50})(?=.[~`!@#$%^&()-+=]{1,50})(?=.[a-zA-Z]{2,50}).{8,50}$/;

password must be more than 8 words include 1 special charecter, 1 integer, 2 alphabet

parkdonggyu avatar Jul 07 '20 19:07 parkdonggyu

Yeah I checked it They have just set a basic restriction that password length should be either 6 characters or 8 It is too weak pattern

I agree with what you are saying Make a pull request

shivanandmanik avatar Jul 07 '20 19:07 shivanandmanik