Skip to content

simple_captcha_valid? always return false #58

@Igor-

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions