PDA

View Full Version : Disable the registration password match/check?


stryka
08-01-2003, 04:51 PM
Since my MYSQL and HTTP server hung the other day cuz of memory problems... no one can register...

I get the following error... "passwords don't match"

ppl cleared out their cookies, have the latest IE version... hacks were removed... and VB has no real solution...

SO I JUST WANT TO REMOVE THAT CHECK??

Where can i do this?

Gary King
08-03-2003, 01:50 PM
Open registeradult template and remove:

<tr>

<td bgcolor="#F1F1F1"><font face="verdana, arial, helvetica" size="2" ><b>Enter Password Again:</b></font></td>
<td bgcolor="#F1F1F1"><input type="password" class="bginput" name="passwordconfirm" size="25" maxlength="15"></td>
</tr>

Open register.php and find: if ($username=="" or $email=="" or $emailconfirm=="" or $password=="" or $passwordconfirm=="") {
Replace it with if ($username=="" or $email=="" or $emailconfirm=="" or $password=="") {
Find if ($password!=$passwordconfirm) {
eval("standarderror(\"".gettemplate("error_passwordmismatch")."\");");
exit;
}
Replace with /* if ($password!=$passwordconfirm) {
eval("standarderror(\"".gettemplate("error_passwordmismatch")."\");");
exit;
}*/

Done :)