Fix forcewhitelabel
This commit is contained in:
parent
5da597d410
commit
bdea08d078
@ -15,7 +15,7 @@ func VerifyWhitelabel(isApi bool) func(ctx *gin.Context) {
|
||||
|
||||
if rpc.PremiumClient.GetTierByUser(userId, false) < premium.Whitelabel {
|
||||
var isForced bool
|
||||
for _, id := range config.Conf.Admins {
|
||||
for _, id := range config.Conf.ForceWhitelabel {
|
||||
if id == userId {
|
||||
isForced = true
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user