🔨 Add ApprovedTenants field to AuthConfig and enable auth by default

This commit is contained in:
M. Mert Yildiran
2023-10-26 20:27:34 +03:00
parent 2757b7419f
commit 62d4c3a86e
7 changed files with 10 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ const (
CONFIG_AUTH_ENABLED = "AUTH_ENABLED"
CONFIG_AUTH_APPROVED_EMAILS = "AUTH_APPROVED_EMAILS"
CONFIG_AUTH_APPROVED_DOMAINS = "AUTH_APPROVED_DOMAINS"
CONFIG_AUTH_TENANT_IDS = "AUTH_TENANT_IDS"
)
func SetSecret(provider *Provider, key string, value string) (updated bool, err error) {