Module Authlogic::Session::MagicStates::Config
In: lib/authlogic/session/magic_states.rb

Configuration for the magic states feature.

Methods

Public Instance methods

Set this to true if you want to disable the checking of active?, approved?, and confirmed? on your record. This is more or less of a convenience feature, since 99% of the time if those methods exist and return false you will not want the user logging in. You could easily accomplish this same thing with a before_validation method or other callbacks.

  • Default: false
  • Accepts: Boolean
disable_magic_states=(value = nil)

[Validate]