aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel García <[email protected]>2024-09-20 20:37:35 +0200
committerDaniel García <[email protected]>2024-09-20 20:37:35 +0200
commitb3833786bacbe2aad9efd3c7917f4527b51fa8fe (patch)
tree22a7c255467e18998dd2a3e9225fd0677da3423e
parent02688483eddb55ab11d62b7c7953f7fe32737c7a (diff)
downloadvaultwarden-b3833786bacbe2aad9efd3c7917f4527b51fa8fe.tar.gz
vaultwarden-b3833786bacbe2aad9efd3c7917f4527b51fa8fe.zip
Actually qualify CONFIG2024-updates-and-config-endpoint
-rw-r--r--src/api/core/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/core/mod.rs b/src/api/core/mod.rs
index 4e58c733..ee5db190 100644
--- a/src/api/core/mod.rs
+++ b/src/api/core/mod.rs
@@ -205,7 +205,7 @@ fn config() -> Json<Value> {
"url": "https://github.com/dani-garcia/vaultwarden"
},
"settings": {
- "disableUserRegistration": !CONFIG.signups_allowed() && CONFIG.signups_domains_whitelist().is_empty(),
+ "disableUserRegistration": !crate::CONFIG.signups_allowed() && crate::CONFIG.signups_domains_whitelist().is_empty(),
},
"environment": {
"vault": domain,