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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user