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

Detailed user notification for formhandler interceptor #3

Open
kftw opened this issue Feb 15, 2016 · 1 comment
Open

Detailed user notification for formhandler interceptor #3

kftw opened this issue Feb 15, 2016 · 1 comment
Assignees
Labels

Comments

@kftw
Copy link

kftw commented Feb 15, 2016

When using tw_antibot with formhandler, Tollwerk\TwAntibot\Formhandler\Interceptor throws an error when spam was detected like it should. But formhandler only shows the default "An error occured" message.

The spam notification of tw_antibot is only shown if plugin.Tx_Formhandler.settings.debug was set to 1.

So without active formhandler debug mode there is no way for the user to see if the form submission failed because of spam or because formhandler itself failed completely.

@jkphl jkphl added the bug label Feb 15, 2016
@jkphl
Copy link
Member

jkphl commented Feb 15, 2016

@klaus-fiedler-tollwerk Thanks for reporting. Fact is, when the spam detection is triggered, no error at all should be issued. Instead, Formhandler should fallback to the antispam template and display something like "Your acces to this form is blocked due to abuse reasons ..." (or whatever)

@jkphl jkphl self-assigned this Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants