Method: Authentication::Logic::ActsAsAuthentic::SessionMaintenance::Config#log_in_after_create

Defined in:
lib/auth/logic/acts_as_authentic/session_maintenance.rb

#log_in_after_create(value = nil) ⇒ Object Also known as: log_in_after_create=

In order to turn off automatic maintenance of sessions after create, just set this to false.

  • Default: true

  • Accepts: Boolean



43
44
45
# File 'lib/auth/logic/acts_as_authentic/session_maintenance.rb', line 43

def (value = nil)
  rw_config(:log_in_after_create, value, true)
end