mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 22:52:32 -05:00
fix auth token rotate
This commit is contained in:
1 parent
f74ad050b4
commit
bcd5e1da98
1 file changed
+1
-1
@@ -25,7 +25,7 @@ class AccessToken < ApplicationRecord
|
||||
|
||||
belongs_to :user
|
||||
|
||||
before_validation :set_sha256, on: :create
|
||||
before_validation :set_sha256
|
||||
|
||||
attribute :token, :string, default: -> { SecureRandom.base58(TOKEN_LENGTH) }
|
||||
|
||||
|
||||
Reference in new issue
Block a user