1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Initialize sid should just skip instance variables.

This commit is contained in:
José Valim 2010-10-04 08:47:36 +02:00
parent 69a2c6b041
commit 3986fcb935

View file

@ -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