And remove the authcode used...

git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@173 05730e5d-ab1b-0410-a4ac-84af385074fa
This commit is contained in:
Thorvald Natvig 2005-09-20 17:24:18 +00:00
parent d0df397d22
commit 540b5cc0e1

View File

@ -70,6 +70,9 @@ if ($auth) {
print "<h1>Tsk tsk</h1><p>Now, that's not a valid auth code, is it?</p>";
}
$sth->finish();
$sth = $dbh->prepare("DELETE FROM player_auth WHERE authcode = ?");
$sth->execute($q->param('auth'));
$sth->finish();
$showit = 0;
} elsif (defined($name) && defined($pw) && defined($email)) {
my @errors;