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

Added feature USER_ENABLE_REGISTER #246

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

LukaszC86
Copy link

Added feature from #148 - now you can disable a new user registration feature if needed.

Show registration link in navbar when USER_ENABLE_REGISTER = True
Show registration link on login page when USER_ENABLE_REGISTER = True
@Patrick-Remy
Copy link

Would be great, if this could be reviewed, as especially without OAuth or configured captcha an open registration page is not a good idea for a private selfhosted page.

@ncrocfer
Copy link
Member

@LukaszC86 Sorry for this late answer, and thanks for your PR !

Can you add some tests please ? So I will be able to merge it. You have examples here: https://github.com/opencve/opencve/blob/44be3747b5f7d3136bc9bd98ba200536e81a112e/tests/views/test_home.py

@infracritical
Copy link

infracritical commented Mar 1, 2023

I am a noob when it comes to flask, python, and for that matter, docker. I'd like to simply remove or disable the feature. if there's a how-to process, that would be great.

How do I disable the "Sign In" and "Login" buttons? I have absolutely NO intention of allowing users to fill up my server with bogus logins, etc.

Anyone?

Danke/Merci/Thanks

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

Successfully merging this pull request may close these issues.

None yet

4 participants