mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 17:23:04 +03:00
Cannot disable new signups #655
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @felipebraz on GitHub.
Subject of the issue
I deactivated the option for new signups in docker variables and in admin page but Vaultwarden still accepting new users.
Deployment environment
vaultwarden version: 1.30.0
Install method: Docker Compose
Clients used: web and desktop
Reverse proxy and version: Cloudflare Tunnel
Other relevant details:
Steps to reproduce
Deactivate the new signups and try to signup
Expected behaviour
Block the signup
Actual behaviour
Allowing signup
Troubleshooting data
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden: DOMAIN, SENDS_ALLOWED, SIGNUPS_ALLOWED, SIGNUPS_VERIFY, SIGNUPS_VERIFY_RESEND_TIME, SIGNUPS_VERIFY_RESEND_LIMIT, SIGNUPS_DOMAINS_WHITELIST, EMERGENCY_ACCESS_ALLOWED, ADMIN_TOKEN, SMTP_HOST, SMTP_SECURITY, SMTP_PORT, SMTP_FROM, SMTP_FROM_NAME, SMTP_USERNAME, SMTP_PASSWORD, SMTP_AUTH_MECHANISM
@stefan0xC commented on GitHub:
Disabling signups in the back-end does not remove the registration form in the front-end. It will however prevent the creation of new users if you submit the form. See: https://github.com/dani-garcia/vaultwarden/wiki/Disable-registration-of-new-users
Also you allow registration via
SIGNUPS_DOMAINS_WHITELISTwhich overrides this setting.03c6ed2e07/src/config.rs (L1084-L1093)