mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Initialize sid should just skip instance variables.
This commit is contained in:
@@ -31,6 +31,13 @@ module ActionDispatch
|
||||
def generate_sid
|
||||
ActiveSupport::SecureRandom.hex(16)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def initialize_sid
|
||||
@default_options.delete(:sidbits)
|
||||
@default_options.delete(:secure_random)
|
||||
end
|
||||
end
|
||||
|
||||
module StaleSessionCheck
|
||||
|
||||
Reference in New Issue
Block a user