Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Password regex problem

solved

Solved by Aaron Dalton View solution

Started by Gasmon Stranger 8 years ago · 2 replies · 986 views
8 years ago

Hello,
I tried to change Password Regex for my registration form to allow any characters in password, but the password need to be 6-32 characters long.
I set it to: {6, 32} but it doesn't work at all. When I try to register with password (for example) test123, I am still getting error that I need to use at least one lowercase, upercase and number. How to fix this becouse it's so freaking anoying?

8 years ago Solution

Don't you need a period before all that: .{6,32}?

8 years ago

It wasn't period in default regex scheme, but in my case whey I writed it, it's works now, thanks!

Suggested topics

Topic Participants Replies Views Activity
Support · by Marcel, 4 days ago
0 81 4 days ago
Support · by JakobDB, 6 days ago
1 89 5 days ago
Support · by ramenos, 7 days ago
3 103 6 days ago
Support · by gravinator, 2 weeks ago
3 228 7 days ago
Support · by Roger Parkinson, 2 weeks ago
3 308 2 weeks ago