huacnlee / rucaptcha

Captcha Gem for Rails, which generates captcha image by Rust.
https://huacnlee.github.io/rucaptcha
MIT License
693 stars 133 forks source link

fix(rucaptcha_input_tag): fix error of helper method 'rucaptcha_input_tag option' #68

Closed ethan-well closed 5 years ago

ethan-well commented 5 years ago

rucaptcha_input_tag 生成的 input 的 maxlength 属性值固定为 5,当配置验证码长度为 6 或者 7 的时候,rucaptcha_input_tag 生成的 input 无法输入 6 到 7 位长度的字负串

ethan-well commented 5 years ago

@huacnlee 您好,之前有几个提交是误提交,我 fork 了您的项目后做修改适配自己现在的项目,但是忘记 checkout 一个新的分支,所以导致后继的修改被纳入到这个 PullRequest 中了。问题按照您的反馈已经修改。刚才没考虑仔细给强推了,导致前面您的评论和我之前的错误提交看不到了,不太利于问题的跟进,请谅解,以后会注意。