mirror of
https://github.com/docusealco/docuseal.git
synced 2026-08-07 07:14:43 +00:00
fix auth token rotate
This commit is contained in:
@@ -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