summaryrefslogtreecommitdiffstats
path: root/play
diff options
context:
space:
mode:
Diffstat (limited to 'play')
-rw-r--r--play/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/play/index.php b/play/index.php
index 660ae9d4..f32cc27b 100644
--- a/play/index.php
+++ b/play/index.php
@@ -108,7 +108,7 @@ if ( isset( $uid ) ) {
echo "Error: User Disabled";
exit;
}
- if (!$user->username && !$user->is_xmlrpc()) {
+ if ( conf('use_auth') AND !$user->username AND !$user->is_xmlrpc() ) {
if (conf('debug')) {
log_event($user->username,' user_not_found ',"Error $user->username not found, stream access denied");
}