diff --git a/Rocksolid_Light/rocksolid/newsportal.php b/Rocksolid_Light/rocksolid/newsportal.php index dae530e..5d64b7d 100644 --- a/Rocksolid_Light/rocksolid/newsportal.php +++ b/Rocksolid_Light/rocksolid/newsportal.php @@ -1022,6 +1022,10 @@ function check_bbs_auth($username, $password) { } } + if(trim($username) == strtolower($CONFIG['anonusername']) && $CONFIG['anonuser'] != true) { + return FALSE; + } + if ($userFileHandle = @fopen($userFilename, 'r')) { $userFileInfo = fread($userFileHandle, filesize($userFilename));