mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 17:23:04 +03:00
SIGNUPS_ALLOWED=false doesn't work #1001
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 @waclaw66 on GitHub.
Subject of the issue
Deployment environment
Install method: Fedora package
Clients used: web
Reverse proxy and version: nginx 1.22.1
MySQL/MariaDB or PostgreSQL version: MariaDB 10.5.16
Other relevant details:
Steps to reproduce
Just set it to false
Expected behaviour
Register button shall not be available
Actual behaviour
SIGNUPS_ALLOWED has no effect
Troubleshooting data
@waclaw66 commented on GitHub:
I checked the code and it turns out that the Register button is always visible and SIGNUPS_ALLOWED is validated afterwards.
f3beaea9e9/src/api/core/accounts.rs (L130)