1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 09:49:30 +02:00

fix stream code to not allow disabled users to stream

This commit is contained in:
Karl 'vollmerk' Vollmer 2005-06-21 16:21:06 +00:00
parent a9e1972786
commit 9e44a948cf

View file

@ -93,7 +93,7 @@ if ( isset( $uid ) ) {
if ($song->status === 'disabled') {
exit;
}
if ($user->access === 'disabled') {
if ($user->disabled == '1') {
if (conf('debug')) {
log_event($user->username,' user_disabled ',"Error $user->username is currently disabled, stream access denied");
}