Skip to content

Cannot disable new signups #4058

Closed Answered by stefan0xC
felipebraz asked this question in Q&A
Nov 9, 2023 · 3 comments · 8 replies
Discussion options

You must be logged in to vote

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_WHITELIST which overrides this setting.

vaultwarden/src/config.rs

Lines 1084 to 1093 in 03c6ed2

/// Tests whether signup is allowed for an email address, taking into
/// account the signups_allowed and signups_domains_whitelist settings.
pub fn is_signup_allowed(&self, email: &str) -> bool {
if !self.signups_domains_whitelist().is_empty() {
// The whitelist sett…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@jprinaldi
Comment options

@BlackDex
Comment options

BlackDex May 7, 2025
Collaborator

@jprinaldi
Comment options

@jprinaldi
Comment options

Answer selected by felipebraz
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@BlackDex
Comment options

@BlackDex
Comment options

@sempervictus
Comment options

@BlackDex
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #4057 on November 09, 2023 07:36.