mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-26 18:46:47 +02:00
fix hiding of signup link (#6113)
The registration link should be hidden if signup is not allowed and whitelist is empty unless mail is disabled and invitations are allowed
This commit is contained in:
1 parent
0db4b00007
commit
5d84f17600
3 files changed
+10
-2
No files matched your search
+1
-1
@@ -225,7 +225,7 @@ fn config() -> Json<Value> {
|
||||
"url": "https://github.com/dani-garcia/vaultwarden"
|
||||
},
|
||||
"settings": {
|
||||
"disableUserRegistration": !crate::CONFIG.signups_allowed() && crate::CONFIG.signups_domains_whitelist().is_empty(),
|
||||
"disableUserRegistration": crate::CONFIG.is_signup_disabled()
|
||||
},
|
||||
"environment": {
|
||||
"vault": domain,
|
||||
|
||||
Reference in new issue
Block a user