Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DISABLE_SIGNUPS not working #52

Closed
chanunnaki opened this issue Mar 30, 2024 · 7 comments
Closed

DISABLE_SIGNUPS not working #52

chanunnaki opened this issue Mar 30, 2024 · 7 comments
Labels
question Further information is requested

Comments

@chanunnaki
Copy link

I set the .env variable to DISABLE_SIGNUPS=true but it didn't disable the option.

I ran docker compose up -s again after saving the .env already.

@MohamedBassem
Copy link
Collaborator

Can you share your docker compose file?

Can you also maybe share the output of: docker inspect hoarder-pub-web-1 | grep DISABLE_SIGNUPS to ensure that the web container actually saw the env variable?

@MohamedBassem MohamedBassem added the question Further information is requested label Mar 30, 2024
@chanunnaki
Copy link
Author

chanunnaki commented Mar 30, 2024 via email

@MohamedBassem
Copy link
Collaborator

hmmm, interesting. It looks right indeed. So, when you say DISABLE_SIGNUPS is not working, does that mean you can create an account normally?

Typically, what you'd see is that the Signup button is disabled similar to this screenshot:

Screenshot 2024-03-30 at 7 11 42 PM

@chanunnaki
Copy link
Author

yeah, it's exactly the same:

image

This screenshot was taken in another browser that I don't normally use to rule out the possibilty of the site being cached somehow.

@MohamedBassem
Copy link
Collaborator

Hmm, that screenshot that you shared shows the button as disabled. Which means that you can't really sign up.

This is what it looks like when signups is enabled:

Screenshot 2024-03-30 at 7 45 55 PM

And this is what it looks like when it's disabled:

Screenshot 2024-03-30 at 7 47 27 PM

@chanunnaki
Copy link
Author

chanunnaki commented Mar 30, 2024 via email

@MohamedBassem
Copy link
Collaborator

hmmm, I might actually consider changing it so that it fully disappears. Makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants