add default user signatures

This commit is contained in:
Alex Turchyn
2023-09-22 21:50:39 +03:00
parent 380f553a17
commit 5643094a7a
22 changed files with 337 additions and 59 deletions
+1
View File
@@ -52,6 +52,7 @@ class User < ApplicationRecord
belongs_to :account
has_one :access_token, dependent: :destroy
has_many :templates, dependent: :destroy, foreign_key: :author_id, inverse_of: :author
has_many :user_configs, dependent: :destroy
devise :two_factor_authenticatable, :recoverable, :rememberable, :validatable, :trackable
devise :registerable, :omniauthable, omniauth_providers: [:google_oauth2] if Docuseal.multitenant?