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
  • 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 | 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 142 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 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
    

    I use Cloudron with Gandi & Hetzner

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

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

        I use Cloudron with Gandi & Hetzner

        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
          wrote 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 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 🤔

            I use Cloudron with Gandi & Hetzner

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

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              0
              • jamesJ Offline
                jamesJ Offline
                james
                Staff
                wrote 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 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
                  
                  

                  I use Cloudron with Gandi & Hetzner

                  1 Reply Last reply
                  0
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote 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 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? 🤷

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply
                      0
                      • girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote 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
                        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