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

TR_SIGNUPS_ENABLED=false does not work #176

Closed
ColinSchmale opened this issue Nov 7, 2020 · 2 comments
Closed

TR_SIGNUPS_ENABLED=false does not work #176

ColinSchmale opened this issue Nov 7, 2020 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ColinSchmale
Copy link

ColinSchmale commented Nov 7, 2020

Describe the bug
Setting TR_SIGNUPS_ENABLED=false does not disable user sign ups. "Don't have an account? Sign Up" is still there and users can still create a new account if they click on "Sign Up" and fill out the form.

To Reproduce
I'm using the newest version of Traduora and I deployed the project from source.

I've set the TR_SIGNUPS_ENABLED environment variable to false:
sudo nano /etc/environment

TR_VIRTUAL_HOST=http://translate.mywebsite.app
TR_DB_USER=traduora
TR_DB_PASSWORD=mypassword
TR_SIGNUPS_ENABLED=false

And I've restarted Traduora.

Environment:

  • Device: VPS
  • OS: Ubuntu Server
  • Version: 18.0.4
@ColinSchmale ColinSchmale added bug Something isn't working help wanted Extra attention is needed labels Nov 7, 2020
@ColinSchmale
Copy link
Author

I changed some other settings and now users get a "resource not found" when they try to register. Maybe I just didn't restart the app the right way. 😄

@anthonynsimon
Copy link
Contributor

Hey thanks for reporting this. Yes, we should improve the error messages and hide the signup page if the signups option is disabled.

Anyways, glad you were able to sort it out in the end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants