mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
forgot one instance where the min/max captcha chars need to be applied ;)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9469 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
53aa37cd66
commit
b4388d0ed1
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ class ucp_register
|
||||||
array('string', false, 6, 60),
|
array('string', false, 6, 60),
|
||||||
array('email')),
|
array('email')),
|
||||||
'email_confirm' => array('string', false, 6, 60),
|
'email_confirm' => array('string', false, 6, 60),
|
||||||
'confirm_code' => array('string', !$config['enable_confirm'], 5, 8),
|
'confirm_code' => array('string', !$config['enable_confirm'], CAPTCHA_MIN_CHARS, CAPTCHA_MAX_CHARS),
|
||||||
'tz' => array('num', false, -14, 14),
|
'tz' => array('num', false, -14, 14),
|
||||||
'lang' => array('match', false, '#^[a-z_\-]{2,}$#i'),
|
'lang' => array('match', false, '#^[a-z_\-]{2,}$#i'),
|
||||||
));
|
));
|
||||||
|
|
Loading…
Add table
Reference in a new issue