Sha256: e78017d90888545a4b84906abf693bce05adbc5270273baf19755f728ecf28ab

Contents?: true

Size: 674 Bytes

Versions: 10

Compression:

Stored size: 674 Bytes

Contents

# frozen_string_literal: true

module Devise
  module Models
    # SecurityQuestionable is an accessible add-on for visually handicapped people,
    # to ship around the captcha with screenreader compatibility.
    #
    # You need to add two text_field_tags to the associated forms (unlock,
    # password, confirmation):
    # :security_question_answer and :captcha
    #
    # And add the security_question to the register/edit form.
    # f.select :security_question_id, SecurityQuestion.where(locale: I18n.locale).map{|s| [s.name, s.id]}
    # f.text_field :security_question_answer
    module SecurityQuestionable
      extend ActiveSupport::Concern
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
devise-security-0.18.0 lib/devise-security/models/security_questionable.rb
devise-security-0.17.0 lib/devise-security/models/security_questionable.rb
devise-security-0.16.0 lib/devise-security/models/security_questionable.rb
devise-security-0.15.0 lib/devise-security/models/security_questionable.rb
devise-security-0.14.3 lib/devise-security/models/security_questionable.rb
devise-security-0.14.2 lib/devise-security/models/security_questionable.rb
devise-security-0.14.1 lib/devise-security/models/security_questionable.rb
devise-security-0.14.0 lib/devise-security/models/security_questionable.rb
devise-security-0.14.0.rc1 lib/devise-security/models/security_questionable.rb
devise-security-0.13.0 lib/devise-security/models/security_questionable.rb