Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Vaultwarden
  3. SIGNUPS_ALLOWED=false doesn't work for me.

SIGNUPS_ALLOWED=false doesn't work for me.

Scheduled Pinned Locked Moved Vaultwarden
14 Posts 5 Posters 2.3k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by
    #3
    This post is deleted!
    1 Reply Last reply
    0
    • jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by jdaviescoates
      #4

      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
      
      1 Reply Last reply
      0
      • andreasduerenA Offline
        andreasduerenA Offline
        andreasdueren
        App Dev
        wrote on last edited by
        #5

        Interesting, I can reproduce this. Looks like Vaultwarden will neither respect the config in the config file, env or admin backend.

        jdaviescoatesJ 1 Reply Last reply
        0
        • andreasduerenA andreasdueren

          Interesting, I can reproduce this. Looks like Vaultwarden will neither respect the config in the config file, env or admin backend.

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #6

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

          andreasduerenA 1 Reply Last reply
          0
          • jdaviescoatesJ jdaviescoates

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

            andreasduerenA Offline
            andreasduerenA Offline
            andreasdueren
            App Dev
            wrote on last edited by
            #7

            @jdaviescoates Anyhting in the config.json?

            jdaviescoatesJ 1 Reply Last reply
            1
            • andreasduerenA andreasdueren

              @jdaviescoates Anyhting in the config.json?

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by jdaviescoates
              #8

              @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 my config.json doesn't seem to be working for me 🤔

              jdaviescoatesJ 1 Reply Last reply
              0
              • jdaviescoatesJ jdaviescoates

                @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 my config.json doesn't seem to be working for me 🤔

                jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by
                #9

                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:

                287182d0-9055-4c54-822d-373ad17a0352-image.png

                1 Reply Last reply
                0
                • jamesJ Online
                  jamesJ Online
                  james
                  Staff
                  wrote on last edited by james
                  #10

                  Hello @luckow
                  From the Cloudron doc https://docs.cloudron.io/packages/vaultwarden/#users

                  By default, open registration is enabled. This can be changed via the config variables by editing /app/data/config.json using 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.

                  jdaviescoatesJ 1 Reply Last reply
                  1
                  • jamesJ james

                    Hello @luckow
                    From the Cloudron doc https://docs.cloudron.io/packages/vaultwarden/#users

                    By default, open registration is enabled. This can be changed via the config variables by editing /app/data/config.json using 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.

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #11

                    @james I guess perhaps this stuff should be remove from the env.sh file 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
                    
                    
                    1 Reply Last reply
                    0
                    • girishG Do not disturb
                      girishG Do not disturb
                      girish
                      Staff
                      wrote on last edited by
                      #12

                      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

                      jdaviescoatesJ 1 Reply Last reply
                      1
                      • girishG girish

                        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

                        jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by
                        #13

                        @girish is it safe to just delete the left over env.sh and/ or is there a reason to keep it for other settings? 🤷

                        1 Reply Last reply
                        0
                        • girishG Do not disturb
                          girishG Do not disturb
                          girish
                          Staff
                          wrote on last edited by
                          #14

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

                          1 Reply Last reply
                          1
                          • 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
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search