Mercurial > hg > fapweb
diff usrlogin.php @ 129:d011a389e49b
Moar.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 22 Oct 2013 17:59:03 +0300 |
parents | 5837b9333964 |
children | 5b92f130ba87 |
line wrap: on
line diff
--- a/usrlogin.php Tue Oct 22 17:58:23 2013 +0300 +++ b/usrlogin.php Tue Oct 22 17:59:03 2013 +0300 @@ -20,7 +20,7 @@ $sql = stPrepareSQL("SELECT id FROM votekeys WHERE key=%s", $password); if (($votekey_id = stFetchSQLColumn($sql)) !== false) { - if (!stSessionStart(SESS_USER, $votekey_id, "userTimeout")) + if (!stSessionStart(SESS_USER, $password, "userTimeout")) { error_log("User session AUTH LOGIN failed (session setup)"); $gotoPage = "loginerror";