-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
Add register user function #164
Comments
While I agree that a registration function is nice to have I disagree about it being enabled by default. I consider registration being enabled by default an unnecessary security hole that might give people access to Kimai that shouldn't. The procedure to disable self-registration described in the docs didn't work for me. I had to patch the .htaccess to ensure no new users could register:
|
Okay, I have to adjust the documentation I guess. Depending on your setup, you might have to switch the user in order to re-generate the cache, please check the UPGRADING docs on how to do that. Regarding enabling/disabling feature, I think this is a crucial setting and should only be changeable by the administrator. But I'll check if its possible to add a one line config to enable/disable it in the |
@sideeffect42 I checked the documentation and you were right, it was not complete / outdated. I improved it, see the linked commits. I also added two config settings that you can have in the file For now I will keep these features active by default, as disabling it is only a minimal change in one config file. |
@kevinpapst Thank you very much for your rapid response. With the latest version I could successfully disable both registration and password resets by adding these lines to kimai:
user:
registration: false
password_reset: false Now I get a 404 page when going to the registration/resetting pages. |
Thanks for your quick feedback! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Add functionality for self-registration
The text was updated successfully, but these errors were encountered: