aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-02-25 22:24:17 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-02-25 22:24:17 +0000
commit83b6163b4b75b7d06178dbf43719dbb1be1392d1 (patch)
treed9282fe685e4576ca054db212ec6bedfa90e2ed1 /phpBB/common.php
parent9bb944225afee2a39eb03827d805df17acfc77ec (diff)
downloadforums-83b6163b4b75b7d06178dbf43719dbb1be1392d1.tar
forums-83b6163b4b75b7d06178dbf43719dbb1be1392d1.tar.gz
forums-83b6163b4b75b7d06178dbf43719dbb1be1392d1.tar.bz2
forums-83b6163b4b75b7d06178dbf43719dbb1be1392d1.tar.xz
forums-83b6163b4b75b7d06178dbf43719dbb1be1392d1.zip
Added login/logout file and logic to login a user
git-svn-id: file:///svn/phpbb/trunk@65 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/common.php')
-rw-r--r--phpBB/common.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index 55e9e2da3d..79d64b2403 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -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);
}