Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix allow anonymous in webhook controller #99

Merged
merged 1 commit into from Dec 4, 2019
Merged

Fix allow anonymous in webhook controller #99

merged 1 commit into from Dec 4, 2019

Conversation

martinleveille
Copy link

This fix the allow anonymous feature by calling the parent::init() function needed to normalize the values of the $allowAnonymous variable.

Without this fix, it's impossible to run any actions in the webhook controller when your are not logged in Craft.

https://github.com/craftcms/cms/blob/ff1186c974652e47be5bad88b68168b99da73f1f/src/web/Controller.php#L73

@bencroker bencroker merged commit 99ce8ff into putyourlightson:v1 Dec 4, 2019
@bencroker
Copy link
Collaborator

Thanks @martinleveille!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants