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

capthca form with 'numeric' code type, returns alphabetical letters on referesh #45

Open
memlucky71 opened this issue Jul 8, 2015 · 1 comment

Comments

@memlucky71
Copy link

hi
in my form I have:

<%= show_simple_captcha :label => "..." , :code_type => 'numeric' %>

when I open the page in browser I have numerical values in image, but when I click refresh button, alphabetical letters will be replaced in image. I want letters to be numbers, just like refreshing whole page in browser.

@zealot128
Copy link
Member

I never used the code_type option by myself, so I didn't notice that behavior after the refresh button was introduced in #3.
I guess, the code type must be given to the refresh link and parsed in the rack middleware.

If you have some time, I would appreciate a pull request :)

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

No branches or pull requests

2 participants