Sha256: 0fb86cc21930c7ade0d6c5005a50531606d2900305e8597bf2a7d98a81592f16

Contents?: true

Size: 643 Bytes

Versions: 9

Compression:

Stored size: 643 Bytes

Contents

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

9 entries across 9 versions & 2 rubygems

Version Path
devise-security-0.11.1 lib/devise-security/models/security_questionable.rb
devise-security-0.11.0 lib/devise-security/models/security_questionable.rb
devise_security_extension-0.10.0 lib/devise_security_extension/models/security_questionable.rb
devise_security_extension-0.9.2 lib/devise_security_extension/models/security_questionable.rb
devise_security_extension-0.9.1 lib/devise_security_extension/models/security_questionable.rb
devise_security_extension-0.8.4 lib/devise_security_extension/models/security_questionable.rb
devise_security_extension-0.8.3 lib/devise_security_extension/models/security_questionable.rb
devise_security_extension-0.8.1 lib/devise_security_extension/models/security_questionable.rb
devise_security_extension-0.8.0 lib/devise_security_extension/models/security_questionable.rb