From d902e6cb6957b956ddd35c06ceb3cf9917af1068 Mon Sep 17 00:00:00 2001 From: Jacob Bednarz Date: Tue, 24 Nov 2020 15:32:23 +1100 Subject: [PATCH] Remove conditions These are empty causing auth failures --- cmd/exec.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmd/exec.go b/cmd/exec.go index 1a250e3..5e2fc5e 100644 --- a/cmd/exec.go +++ b/cmd/exec.go @@ -151,12 +151,6 @@ var execCmd = &cobra.Command{ NotBefore: &now, ExpiresOn: &tokenExpiry, Policies: policies, - Condition: &cloudflare.APITokenCondition{ - RequestIP: &cloudflare.APITokenRequestIPCondition{ - In: []string{}, - NotIn: []string{}, - }, - }, } shortLivedToken, err := api.CreateAPIToken(token)