From edf8e7f8e5e203a3f43758d6ffd2588b9cb0bc35 Mon Sep 17 00:00:00 2001 From: Yanick Date: Thu, 13 Jul 2023 14:53:00 +0200 Subject: [PATCH] add DISABLE_REGISTRATION to frontendProperties --- src/main/java/me/kavin/piped/consts/Constants.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/me/kavin/piped/consts/Constants.java b/src/main/java/me/kavin/piped/consts/Constants.java index b98298a..9620826 100644 --- a/src/main/java/me/kavin/piped/consts/Constants.java +++ b/src/main/java/me/kavin/piped/consts/Constants.java @@ -175,6 +175,7 @@ public class Constants { .map(JsonNodeFactory.instance::textNode).toList() ); frontendProperties.put("s3Enabled", S3_CLIENT != null); + frontendProperties.put("registrationDisabled", DISABLE_REGISTRATION); // transform hibernate properties for legacy configurations hibernateProperties.replace("hibernate.dialect",