Skip to content

Commit

Permalink
Add the private id
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Dec 17, 2019
1 parent 368effd commit b9565a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack/session/pool.rb
Expand Up @@ -37,7 +37,7 @@ def initialize(app, options={})
def generate_sid
loop do
sid = super
break sid unless @pool.key? sid
break sid unless @pool.key? sid.private_id
end
end

Expand Down

0 comments on commit b9565a9

Please sign in to comment.