Sha256: 802ae3197fa2db5bbeb32243879fa5e97a4e9c6b832da27082ae41113d4085c1

Contents?: true

Size: 431 Bytes

Versions: 9

Compression:

Stored size: 431 Bytes

Contents

require 'rails_base/configuration/base'

module RailsBase
  module Configuration
    class LoginBehavior < Base

      DEFAULT_VALUES = {
        fallback_to_referred: {
          type: :boolean,
          default: true,
          description: 'Enable capturing requests context when login fails. Upon login, redirect user to page they tried to go to.',
        }
      }
      attr_accessor *DEFAULT_VALUES.keys
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails_base-0.55.0 lib/rails_base/configuration/login_behavior.rb
rails_base-0.54.0 lib/rails_base/configuration/login_behavior.rb
rails_base-0.53.1 lib/rails_base/configuration/login_behavior.rb
rails_base-0.53.0 lib/rails_base/configuration/login_behavior.rb
rails_base-0.52.3 lib/rails_base/configuration/login_behavior.rb
rails_base-0.52.1 lib/rails_base/configuration/login_behavior.rb
rails_base-0.52.0 lib/rails_base/configuration/login_behavior.rb
rails_base-0.51.1 lib/rails_base/configuration/login_behavior.rb
rails_base-0.51.0 lib/rails_base/configuration/login_behavior.rb