SIGNUPS_ALLOWED=false doesn't work for me.
-
This post is deleted!
-
But, I'm also very confused, because I don't have the option enable in my instance!
I just have this with it still all commented out

# Export bitwarden rs environment variables here to ovveride the defaults #export SIGNUPS_ALLOWED=false #export INVITATIONS_ALLOWED=true # To only allow users with the same email domain as where the app is installed: #export SIGNUPS_DOMAINS_WHITELIST=ud.coop export LOG_LEVEL=info -
Interesting, I can reproduce this. Looks like Vaultwarden will neither respect the config in the config file, env or admin backend.
-
Interesting, I can reproduce this. Looks like Vaultwarden will neither respect the config in the config file, env or admin backend.
@andreasdueren but how have I manged to not have that link showing on my instance?!?

-
@andreasdueren but how have I manged to not have that link showing on my instance?!?

@jdaviescoates Anyhting in the config.json?
-
@jdaviescoates Anyhting in the config.json?
@andreasdueren I do indeed have this in there:
"signups_allowed": false,So perhaps that's it!
I was just trying to login to
/admin/to see what I could see there too, but using the admin token in myconfig.jsondoesn't seem to be working for me
-
@andreasdueren I do indeed have this in there:
"signups_allowed": false,So perhaps that's it!
I was just trying to login to
/admin/to see what I could see there too, but using the admin token in myconfig.jsondoesn't seem to be working for me
said in SIGNUPS_ALLOWED=false doesn't work for me.:
I was just trying to login to /admin/ to see what I could see there too, but using the admin token in my config.json doesn't seem to be working for me

Aha, the docs says:
The token to login to the admin page is the password you entered above to generate the ADMIN_TOKEN.
I hadn't spotted that on a quick read!
I managed to login and see this unchecked box there too:

-
Hello @luckow
From the Cloudron doc https://docs.cloudron.io/packages/vaultwarden/#usersBy default, open registration is enabled. This can be changed via the config variables by editing
/app/data/config.jsonusing the File Manager. For example, to disable signup but allow invitations set the variables as below:"signups_allowed": false, "invitations_allowed": true,>Did you try this instead of the env-sh file?
Edit: for some reason my post got delayed for multiple minutes. Ignore this.
-
Hello @luckow
From the Cloudron doc https://docs.cloudron.io/packages/vaultwarden/#usersBy default, open registration is enabled. This can be changed via the config variables by editing
/app/data/config.jsonusing the File Manager. For example, to disable signup but allow invitations set the variables as below:"signups_allowed": false, "invitations_allowed": true,>Did you try this instead of the env-sh file?
Edit: for some reason my post got delayed for multiple minutes. Ignore this.
@james I guess perhaps this stuff should be remove from the
env.shfile in the package given they seemingly don't do anything and lead to this confusion:# Export bitwarden rs environment variables here to ovveride the defaults #export SIGNUPS_ALLOWED=false #export INVITATIONS_ALLOWED=true # To only allow users with the same email domain as where the app is installed: #export SIGNUPS_DOMAINS_WHITELIST=ud.coop export LOG_LEVEL=info -
I remember fixing this. I guess very old installations (2022) still have the above comment and env variables . https://git.cloudron.io/packages/vaultwarden-app/-/commit/7de942dcc2ae45294b78ec22931fba906e5c64a1
-
I remember fixing this. I guess very old installations (2022) still have the above comment and env variables . https://git.cloudron.io/packages/vaultwarden-app/-/commit/7de942dcc2ae45294b78ec22931fba906e5c64a1
@girish is it safe to just delete the left over
env.shand/ or is there a reason to keep it for other settings?
-
@jdaviescoates the comment in the package says there are some values that can only be set in env . But I cannot find what they are . AFAICT, it is safe to empty it out.
-
J joseph marked this topic as a regular topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login