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

Let the user disable new registrations #56

Closed
Kovah opened this issue Jun 6, 2017 · 5 comments
Closed

Let the user disable new registrations #56

Kovah opened this issue Jun 6, 2017 · 5 comments

Comments

@Kovah
Copy link

Kovah commented Jun 6, 2017

I would highly appreciate an option / setting / config parameter to completetly turn off new registrations. At the moment it seems that everyone that has access to the instance I set up can create an account and start adding contacts.
Even if the app separates all the data saved for users I would feel uncomfortable to know anybody could use my app. Possible problem: security issues and access to an other users data via exploits. Not cool.

Such an option would just disable the register controller and remove the sign up button from the login page.

@ocdtrekkie
Copy link

Oops. Commented on the wrong issue. :/

@Kovah
Copy link
Author

Kovah commented Jun 7, 2017

Pull request on the way.

@degan6
Copy link

degan6 commented Jun 7, 2017

Maybe allow certain domains to create accounts or a whitelist of emails?

@Kovah
Copy link
Author

Kovah commented Jun 7, 2017

I just added a setting to completely disable the signup. Adding whitelists and only allow certain domains could be added later, however @djaiss should point out how to store these global configurations. The .env file may not be that practical to store lists with multiple entries.

djaiss pushed a commit that referenced this issue Jun 7, 2017
Updates the RegisterController to check if the signup is disabled.
Removes signup link if needed.
Also adds a new generic 403 error page.
@Kovah Kovah closed this as completed Jun 8, 2017
@github-actions
Copy link

This issue has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants