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

some generated captchas are pretty hard for humans #11

Closed
michielbdejong opened this issue Jun 6, 2013 · 2 comments
Closed

some generated captchas are pretty hard for humans #11

michielbdejong opened this issue Jun 6, 2013 · 2 comments

Comments

@michielbdejong
Copy link

while testing this, it generated 'ebm0mo' which looked a lot like 'ebmomo'. i'm not really comfortable with putting up such difficult captchas to our customers. is there a way to configure which letters it should use?

also, i would like it to for instance keep a slightly bigger margin between the characters and the image edge. in general, i would like to minimize the chance that a human fails the captcha :)

@yocontra
Copy link
Owner

yocontra commented Jun 6, 2013

Text:

You can see here https://github.com/wearefractal/captchagen/blob/master/lib/main.coffee#L9 that we allow text coming in from the outside. You can randomly generate your own text and pass in {text:"the captcha"} to .generate if you only want to use certain letters

Margins:

I've just pushed a change that will allow you to configure the font (default is sans)

@michielbdejong
Copy link
Author

awesome, thanks!

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