mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
Make headless mode use the Stream ACL by default
This commit is contained in:
@@ -167,7 +167,9 @@ ACLRegistry::isAuthorizedUser( const QString& dbid, const QString &username, ACL
|
||||
user.knownAccountIds.append( username );
|
||||
if ( globalType != ACLRegistry::NotFound )
|
||||
user.acl = globalType;
|
||||
#ifndef ENABLE_HEADLESS
|
||||
#ifdef ENABLE_HEADLESS
|
||||
user.acl = ACLRegistry::Stream;
|
||||
#else
|
||||
else
|
||||
{
|
||||
getUserDecision( user, username );
|
||||
|
Reference in New Issue
Block a user