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

Open
Clearmist opened this issue Jan 19, 2022 · 0 comments
Open

TR_SIGNUPS_ENABLED=false does not work #282

Clearmist opened this issue Jan 19, 2022 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Clearmist
Copy link

Describe the bug
I am running Traduora from source and have its environment variables set by exporting them in .bashrc. I am trying to disallow new users from creating accounts.

I have tried not having TR_SIGNUPS_ENABLED set at all, having it set to "false", and having it set to false. After restarting the process, in no case does this prevent me from /signup endpoint.

The language in the documentation has poor grammar so I'm not sure if this is even the appropriate environment variable. The description in the documentation reads, "If enabled, users can sign in for".

Here is another issue, but the user's solution was not detailed. #176

To Reproduce
Steps to reproduce the behavior:

  1. Clone the Traduora repository.
  2. Set your environment variables in your bash profile file to allow connection to your local MariaDB/MySQL server.
  3. Set export TR_SIGNUPS_ENABLED="false" in your bash profile then reload using source ~/.bashrc
  4. Start the Traduora process with bin/start.sh.

Expected behavior
Going to the /signup endpoint should result in an error or the signup link should not be present at all.

** Environment (please complete the following information):**

  • Device: System76
  • OS: Pop_OS! 21.10
  • Browser: Firefox
  • Traduora version: 0.19.0
@Clearmist Clearmist added bug Something isn't working help wanted Extra attention is needed labels Jan 19, 2022
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

1 participant