mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-10-24 14:46:48 +09:00
Retain content-validated message fragments across unrelated commits
This commit is contained in:
1 parent
59e1c6d3d7
commit
74381e8b58
10 files changed
+48
-9
No files matched your search
@@ -1,7 +1,7 @@
|
||||
module Authentication::SessionLookup
|
||||
def find_session_by_cookie
|
||||
if token = cookies.signed[:session_token]
|
||||
Session.eager_load(:user).find_by(token: token)
|
||||
Session.find_by(token: token)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user