miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
How To miniBB Support Forums / How To /  
 

minimum password length?

 
Author andreasm
Partaker
#1 | Posted: 17 Nov 2008 12:19 
How to change minimum password length from 5 to 6 characters?

Thanks in advance!

Author Paul
Lead Developer 
#2 | Posted: 18 Nov 2008 03:49 
This is possible only changing bb_func_checkusr.php (core file). Locate this string:

elseif($act=='reg' and !eregi("^[A-Za-z0-9_]{5,32}$", ${$dbUserSheme['user_password'][1]})) $correct=2;
5,32 - change to 6,32 or whatever minimum/maximum you would like to specify.

Author andreasm
Partaker
#3 | Posted: 18 Nov 2008 11:00 
Thanks, I changed it. I also changed language string.

How To miniBB Support Forums / How To /
 minimum password length?
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑