The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
trying to log all bad logins
I have a lot of people telling me that their logins are not working, and it's usually a user error.
But, to be sure, I would like to log all bad login requests In login.php Code:
if (!verify_authentication($vbulletin->GPC['vb_login_username'], $vbulletin->GPC['vb_login_password'], $vbulletin->GPC['vb_login_md5password'], $vbulletin->GPC['vb_login_md5password_utf'], $vbulletin->GPC['cookieuser'], true)) { $tried_username=$vbulletin->GPC['vb_login_username']; $tried_password=$vbulletin->GPC['vb_login_password']; $tried_username works.. it's capturing what they entered but, $tried_password is always blank. What I am doing wrong? |
#2
|
||||
|
||||
Try adding this to your config.php file
Code:
define('DISABLE_PASSWORD_CLEARING', 1); |
#3
|
|||
|
|||
Bingo... that worked! I had already started recoding the login form to add a hidden field called clear_password", with an onblur to pupulate that field. Your method save me a lot of frustration getting it to work. Thank you... THANK YOU!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|