feat(models): extend claim with Claim and Comment

This commit is contained in:
dualfroz committed 2026-09-04 17:05:15 +02:00
1 parent 4015436e50
commit 6a702a1ece
5 files changed
+156

No files matched your search

@@ -0,0 +1,9 @@
class LoginSession < Prism::Orm::Model
belongs_to :user
# The persistent-login cookie's actual credential - never rendered
# anywhere (see LoginSessionsController#index), and hidden from
# serialization so a stray as_json never leaks it either.
has_secure_token :token
hide_from_json :token
end