mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Upgrade to Rails 7
This patch upgrades Rails to version 7.0.2.4.
This commit is contained in:
committed by
Loïc Guitaut
parent
532f9cdb1a
commit
008b700a3f
@@ -75,7 +75,7 @@ class Auth::Result
|
||||
|
||||
def self.from_session_data(data, user:)
|
||||
result = new
|
||||
data = data.symbolize_keys
|
||||
data = data.with_indifferent_access
|
||||
SESSION_ATTRIBUTES.each { |att| result.public_send("#{att}=", data[att]) }
|
||||
result.user = user
|
||||
result
|
||||
|
||||
Reference in New Issue
Block a user