redirect with google oauth

This commit is contained in:
DocuSeal
2023-11-17 02:23:55 +02:00
committed by Pete Matsyburka
parent 26f7d5cf0d
commit cdd034e72d
4 changed files with 26 additions and 3 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 :template_folders, dependent: :destroy, foreign_key: :author_id, inverse_of: :author
has_many :user_configs, dependent: :destroy
has_many :encrypted_configs, dependent: :destroy, class_name: 'EncryptedUserConfig'