lib/authlogic/session/timeout.rb in authlogic-2.0.11 vs lib/authlogic/session/timeout.rb in authlogic-2.0.12
- old
+ new
@@ -46,10 +46,10 @@
# user needs to log back in because their session went stale, or because they just aren't logged in. Just call current_user_session.stale? as your flag.
#
# * <tt>Default:</tt> false
# * <tt>Accepts:</tt> Boolean
def logout_on_timeout(value = nil)
- config(:logout_on_timeout, value, false)
+ rw_config(:logout_on_timeout, value, false)
end
alias_method :logout_on_timeout=, :logout_on_timeout
end
# Instance methods for the timeout feature.
\ No newline at end of file