mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
add sso settings placeholder
This commit is contained in:
1 parent
ddb557ebef
commit
5ed08fa9ab
6 files changed
+44
-2
No files matched your search
@@ -0,0 +1,16 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class SsoSettingsController < ApplicationController
|
||||
before_action :load_encrypted_config
|
||||
authorize_resource :encrypted_config, only: :index
|
||||
authorize_resource :encrypted_config, parent: false, except: :index
|
||||
|
||||
def index; end
|
||||
|
||||
private
|
||||
|
||||
def load_encrypted_config
|
||||
@encrypted_config =
|
||||
EncryptedConfig.find_or_initialize_by(account: current_account, key: 'saml_configs')
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user