summaryrefslogtreecommitdiff
path: root/web/src/utils/Configuration.ts
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/utils/Configuration.ts')
-rw-r--r--web/src/utils/Configuration.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/src/utils/Configuration.ts b/web/src/utils/Configuration.ts
index 25ff419d3..dcae6f690 100644
--- a/web/src/utils/Configuration.ts
+++ b/web/src/utils/Configuration.ts
@@ -27,6 +27,18 @@ export function getResetPasswordCustomURL() {
return getEmbeddedVariable("resetpasswordcustomurl");
}
+export function getPrivacyPolicyEnabled() {
+ return getEmbeddedVariable("privacypolicyurl") !== "";
+}
+
+export function getPrivacyPolicyURL() {
+ return getEmbeddedVariable("privacypolicyurl");
+}
+
+export function getPrivacyPolicyRequireAccept() {
+ return getEmbeddedVariable("privacypolicyaccept") === "true";
+}
+
export function getTheme() {
return getEmbeddedVariable("theme");
}