lib/authlogic/session/timeout.rb in authlogic-4.1.0 vs lib/authlogic/session/timeout.rb in authlogic-4.1.1
- old
+ new
@@ -81,23 +81,23 @@
end
end
private
- def reset_stale_state
- self.stale_record = nil
- end
+ def reset_stale_state
+ self.stale_record = nil
+ end
- def enforce_timeout
- if stale?
- self.stale_record = record
- self.record = nil
- end
+ def enforce_timeout
+ if stale?
+ self.stale_record = record
+ self.record = nil
end
+ end
- def logout_on_timeout?
- self.class.logout_on_timeout == true
- end
+ def logout_on_timeout?
+ self.class.logout_on_timeout == true
+ end
end
end
end
end