mirror of
https://github.com/samply/bridgehead.git
synced 2026-08-13 15:52:37 +02:00
ovis: Warn if OVIS_SUPERADMIN_EMAILS is unset
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user