1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 00:37:42 +02:00

Added login/logout file and logic to login a user

git-svn-id: file:///svn/phpbb/trunk@65 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson
2001-02-25 22:24:17 +00:00
parent 9bb944225a
commit 83b6163b4b
4 changed files with 141 additions and 79 deletions

View File

@@ -70,7 +70,7 @@ else
}
// Check if user is banned
if(!auth("ip ban", $db, "", "", "", "", "", USER_IP, "", "", ""))
if(!auth("ip ban", $db, "", USER_IP))
{
error_die($db, BANNED);
}
@@ -85,7 +85,7 @@ if(isset($HTTP_COOKIE_VARS[$session_cookie]))
$user_logged_in = 1;
update_session_time($sessid, $db);
if(!auth("username ban", $db, $userid, "", "", "", "", "", "", "", ""))
if(!auth("username ban", $db, $userid))
{
error_die($db, BANNED);
}