a-digital / eventbrite

Craft 3 plugin to interface with Eventbrite data through its API.
Other
2 stars 2 forks source link

FR: Environment variables #18

Closed thisiscap closed 12 months ago

thisiscap commented 1 year ago

Could the admin fields be setup to take .env variables so the token isn't stored in version control?

AdamADigital commented 12 months ago

I have updated the main and craft3 branches with new releases, to allow for .env variables. Eg, $EVENTBRITE_AUTH_TOKEN in the plugin config and EVENTBRITE_AUTH_TOKEN=xxxx in the .env file They are v2.0.2 and v1.0.11 respectively.

@thisiscap let me know if there are any issues.