View Full Version : Password must be different than username
Jawelin
03-28-2002, 12:36 PM
How could I force this check in register.php ?
Should be better a simple template (javascript) modification or a full hack ?
Tips ?
Thank you very much
Admin
03-28-2002, 02:32 PM
In register.php add:
if ($password == $username) {
eval("standarderror(\"".gettemplate("error_passwordlikeusername")."\");");
exit;
}
after:
// do add user
And create a template error_passwordlikeusername with the message in it.
Jawelin
03-28-2002, 04:00 PM
Perfect !!!
Thank you very much for this 50th hack ! ;)
Bye
Xanthine
03-28-2002, 05:52 PM
Thanks firefly.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.