The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi all,
I know this will make a lot of devs and admins cringe, BUT!!! I really need to turn of the check for matching usernames and passwords during registration. ***WHY*** you might ask? Well, I have a need to allow a 3rd party script to auto register existing users from another site via an API I have created. However, some of these users have passwords that match their usernames and so VB (quite rightly) stops the process. I'd like to temporarily stop this check, get all the existing users into the system, then send users flagged as having matching usernames and passwords an email regarding updating their passwords (or the account may be deleted). I've had a look in register.php and the register template but dont see a specific check of username against password! Any pointers would surely make my day (as it aint goin too good just now!). ;o( All the best, K... --------------- Added [DATE]1299080383[/DATE] at [TIME]1299080383[/TIME] --------------- OK, after a lot of digging around in the VB code, I found you can do this. Add the following to the bottom of your 'includes/config.php' file: // Allow password to be same as username during registration // CAUTION: Dont leave this as TRUE permanently) define('ALLOW_SAME_USERNAME_PASSWORD', true); Regards, K... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|