mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
add user encrypted configs
This commit is contained in:
1 parent
9da7463657
commit
11a90d797a
10 files changed
+60
No files matched your search
@@ -53,6 +53,7 @@ class User < ApplicationRecord
|
||||
has_one :access_token, dependent: :destroy
|
||||
has_many :templates, dependent: :destroy, foreign_key: :author_id, inverse_of: :author
|
||||
has_many :user_configs, dependent: :destroy
|
||||
has_many :encrypted_configs, dependent: :destroy, class_name: 'EncryptedUserConfig'
|
||||
|
||||
devise :two_factor_authenticatable, :recoverable, :rememberable, :validatable, :trackable
|
||||
devise :registerable, :omniauthable, omniauth_providers: [:google_oauth2] if Docuseal.multitenant?
|
||||
|
||||
Reference in new issue
Block a user