SIGNUPS_ALLOWED=false doesn't work #1001

Closed
opened 2025-10-09 17:00:10 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @waclaw66 on GitHub.

Subject of the issue

Deployment environment

  • vaultwarden version: 1.26.0
  • 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

Originally created by @waclaw66 on GitHub. ### Subject of the issue <!-- Describe your issue here. --> ### Deployment environment * vaultwarden version: 1.26.0 <!-- How the server was installed: Docker image, OS package, built from source, etc. --> * 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
Author
Owner

@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)

@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. https://github.com/dani-garcia/vaultwarden/blob/f3beaea9e95ff7fff679289916232c95621b517c/src/api/core/accounts.rs#L130
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#1001