Skip to content

simple_captcha_valid? always return false #58

Open

Description

@Igor-
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.

Activity

  1. faissaloo commented on Sep 1, 2018

    @faissaloo

    This seems to only happen on Chromium for me.

  2. faissaloo commented on Sep 2, 2018

    @faissaloo

    Using HTTPS seems to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions