mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 15:29:42 +01:00
Make headless mode use the Stream ACL by default
This commit is contained in:
parent
da17f467cf
commit
fda615f0ab
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user