removed login on register

git-svn-id: http://yolanda.mister-muffin.de/svn@339 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
josch 2008-05-01 07:07:36 +00:00
parent bcaf0c1736
commit e6ec120e8a

View file

@ -44,8 +44,8 @@ elsif($query->param('user') and $query->param('pass') and $query->param('pass_re
else
{
#insert new user
$dbh->do(qq{insert into users (username, password, timestamp, sid) values ( ?, password( ? ), unix_timestamp(), ?)}, undef,
$query->param("user"), $query->param("pass"), $session->id) or die $dbh->errstr;
$dbh->do(qq{insert into users (username, password, timestamp) values ( ?, password( ? ), unix_timestamp())}, undef,
$query->param("user"), $query->param("pass")) or die $dbh->errstr;
print $query->redirect("index.pl?information=information_registered");
}