Skip to content

Commit

Permalink
Remove conditions
Browse files Browse the repository at this point in the history
These are empty causing auth failures
  • Loading branch information
jacobbednarz committed Nov 24, 2020
1 parent f759943 commit d902e6c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmd/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d902e6c

Please sign in to comment.