mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Merge pull request #645 from ItzYanick/master
add DISABLE_REGISTRATION to frontendProperties
This commit is contained in:
commit
f44f55e339
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue