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

put all the captcha event handlers of before save entry events in front of queue #295

Merged
merged 1 commit into from
Jun 20, 2019

Conversation

wei2go
Copy link

@wei2go wei2go commented Jun 18, 2019

It would be great if captcha checks happen prior to any other custom event handlers for this event: \barrelstrength\sproutforms\elements\Entry::EVENT_BEFORE_SAVE. In this way, we can check for whether the captcha checks were successful or not and decide if we should proceed further.

Reference: \yiisoft\yii2\base\Event.php : on($class, $name, $handler, $data = null, $append = true)

…ements\Entry::EVENT_BEFORE_SAVE in front of queue
@BenParizek BenParizek changed the base branch from v3 to develop June 20, 2019 12:14
@BenParizek
Copy link
Member

Good idea @wei2go. I think this makes sense. We'll get this update into the next release.

@BenParizek BenParizek merged commit 73dcc70 into barrelstrength:develop Jun 20, 2019
@wei2go
Copy link
Author

wei2go commented Jun 25, 2019

Awesome, thanks Ben!

@BenParizek
Copy link
Member

@wei2go We just released this update earlier today, if you'd like to give it a whirl.

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