mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2025-04-29 16:30:29 +05:30
Merge pull request #645 from ItzYanick/master
add DISABLE_REGISTRATION to frontendProperties
This commit is contained in:
commit
f44f55e339
@ -175,6 +175,7 @@ public class Constants {
|
|||||||
.map(JsonNodeFactory.instance::textNode).toList()
|
.map(JsonNodeFactory.instance::textNode).toList()
|
||||||
);
|
);
|
||||||
frontendProperties.put("s3Enabled", S3_CLIENT != null);
|
frontendProperties.put("s3Enabled", S3_CLIENT != null);
|
||||||
|
frontendProperties.put("registrationDisabled", DISABLE_REGISTRATION);
|
||||||
|
|
||||||
// transform hibernate properties for legacy configurations
|
// transform hibernate properties for legacy configurations
|
||||||
hibernateProperties.replace("hibernate.dialect",
|
hibernateProperties.replace("hibernate.dialect",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user