![]() |
Passwords are limited with Regex in Flexi-Auth - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Passwords are limited with Regex in Flexi-Auth (/showthread.php?tid=1321) |
Passwords are limited with Regex in Flexi-Auth - noobie - 02-28-2015 Hello, In Flexi-Auth, i noticed passwords are limited with the following regex ( only accepts alphanumeric and . , - _ ) PHP Code: $config['security']['valid_password_chars'] = '\.\,\-_ a-z0-9'; I've read it is bad to limit password characters, so i changed it to the following: PHP Code: $config['security']['valid_password_chars'] = '\!\@\#\$\%\^\&\*\(\)\+\=\~\<\>\?\:\[\]\{\}\|\.\,\-_ a-z0-9'; Now it allows almost all standard special chars except: ' " `
Any help is appreciated |