From 6da5be5c4203e895a2724f79d048bd30e48b2135 Mon Sep 17 00:00:00 2001 From: Martin Lablans Date: Thu, 13 Aug 2026 14:26:20 +0200 Subject: [PATCH] ovis: Warn if OVIS_SUPERADMIN_EMAILS is unset --- ccp/modules/ovis-setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ccp/modules/ovis-setup.sh b/ccp/modules/ovis-setup.sh index a85094c..07e1b22 100644 --- a/ccp/modules/ovis-setup.sh +++ b/ccp/modules/ovis-setup.sh @@ -6,4 +6,7 @@ if [ "$ENABLE_OVIS" == true ]; then add_private_oidc_redirect_url "/oauth2-ovis/callback" add_private_oidc_redirect_url "/ccp-ovis*" OVIS_AUTH_COOKIE_SECRET="$(generate_simple_password 'ovisCookieSecret' | head -c 16)" + if [ -z "$OVIS_SUPERADMIN_EMAILS" ]; then + log WARN "OVIS is enabled but OVIS_SUPERADMIN_EMAILS is not set -- nobody will be able to administrate OVIS." + fi fi