Posted on Jul 3, 2007, 3:43 pm by s3cur17y
| |
|
i found the problem,
when you add the mod to add Username and password to index.php, that conflicts with the registation.
this code.
//start login box on front page
if($USER->isGuest())
{
$loginbox = "<form method='post' action='do_login'>
<div align='right'>
Username
<input name='uid' type='text' maxlength='100' size='25' />
Password
<input name='pwd' type='password' maxlength='100' size='25' />
<input type='submit' name='submit' value='Log in' />
</div><br />";
$TEMPLATE->assign("loginbox", $loginbox);
}
//end login box
|