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 · 1004 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 complanar, 6 days ago
6 138 13 hours ago
Support · by Rick Beebe, 6 days ago
2 100 2 days ago
Support · by blu3prince, 3 days ago
0 50 3 days ago
Support · by alex, 4 days ago
2 92 3 days ago
Support · by Marcel, 2 weeks ago
1 142 4 days ago