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

simple_captcha_valid? always return false #58

Open
Igor- opened this issue Apr 27, 2017 · 2 comments
Open

simple_captcha_valid? always return false #58

Igor- opened this issue Apr 27, 2017 · 2 comments

Comments

@Igor-
Copy link

Igor- commented Apr 27, 2017

class PromosController < ApplicationController
   def create
      if !simple_captcha_valid?
        flash[:error] = "Введен неверный код!"
        redirect_to promo_path
        return
      end

      ......
    end

end

here params[:captcha] always nil, but params[:promocode][:captcha] is present.

@faissaloo
Copy link

This seems to only happen on Chromium for me.

@faissaloo
Copy link

Using HTTPS seems to fix this.

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