miniBB Support Forums
|
Forums
|
Register
|
Reply
|
Search
|
Statistics
|
Manual
|
miniBB Support Forums
/
How To
/
minimum password length?
andreasm
Registered
#1
|
Posted: 17 Nov 2008 12:19
How to change minimum password length from 5 to 6 characters?
Thanks in advance!
Paul
CEO
#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.
andreasm
Registered
#3
|
Posted: 18 Nov 2008 11:00
Thanks, I changed it. I also changed language string.
miniBB Support Forums
/
How To
/ minimum password length?
↑
Top
Your Reply
Short link for this topic:
?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.
Before posting, make sure your message is compliant with our
forum posting rules
. If not, it may be locked or deleted with no explanation.
News & Announcements
FAQ
How To
Bugs
The Other
Official Addons and Solutions
Custom Tutorials and Modifications
Master Class
Specific
Re-cycled
Suggestions
Testimonials
qwerty
Features
Requirements
Demo
Download
Showcase
Gallery of Arts
Compiler
Premium Extensions
Premium Support
License
Contacts
Extend your miniBB-forums, attaching the images and files,
get the
File and Picture Attachments add-on
!