add force sso key

This commit is contained in:
Pete Matsyburka
2024-04-19 02:04:35 +03:00
parent cdb8eb7931
commit 119ef0d0c7
2 changed files with 3 additions and 1 deletions
@@ -10,7 +10,8 @@ class AccountConfigsController < ApplicationController
AccountConfig::ALLOW_TO_RESUBMIT,
AccountConfig::ESIGNING_PREFERENCE_KEY,
AccountConfig::FORM_WITH_CONFETTI_KEY,
AccountConfig::DOWNLOAD_LINKS_AUTH_KEY
AccountConfig::DOWNLOAD_LINKS_AUTH_KEY,
AccountConfig::FORCE_SSO_AUTH_KEY
].freeze
InvalidKey = Class.new(StandardError)
+1
View File
@@ -35,6 +35,7 @@ class AccountConfig < ApplicationRecord
ESIGNING_PREFERENCE_KEY = 'esigning_preference'
WEBHOOK_PREFERENCES_KEY = 'webhook_preferences'
DOWNLOAD_LINKS_AUTH_KEY = 'download_links_auth'
FORCE_SSO_AUTH_KEY = 'force_sso_auth'
DEFAULT_VALUES = {
SUBMITTER_INVITATION_EMAIL_KEY => {