-
-
Notifications
You must be signed in to change notification settings - Fork 592
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
Allow registrations #394
Allow registrations #394
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, thanks for your contribution, could you first open an issue, to get some feedback from other users, if that is a needed feature? I rather not add stuff that is not really used even if it is behind a feature flag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, thanks for your contribution, remarks in subcomments.
bump? |
I think the commits from the sub PRs 2 and 3 fix all issues from the review? I should've explicitly mentioned that here after both sub-PRs were merged, sorry. |
@karmanyaahm I've rebased the branch (you may have to update your ui dependencies with |
Codecov Report
@@ Coverage Diff @@
## master #394 +/- ##
==========================================
- Coverage 88.92% 88.62% -0.31%
==========================================
Files 44 44
Lines 1436 1477 +41
==========================================
+ Hits 1277 1309 +32
- Misses 85 92 +7
- Partials 74 76 +2
Continue to review full report at Codecov.
|
I read through all the commits and tested Register/CreateUser related things and everything seems to work very nicely. (some of the finishing touches you put in really help with user experience)
👍 |
Can be enabled via the registration config flag. (disabled per default) Fixes gotify#395 Co-authored-by: pigpig <pigpig@pig.pig> Co-authored-by: Karmanyaah Malhotra <32671690+karmanyaahm@users.noreply.github.com> Co-authored-by: Jannis Mattheis <contact@jmattheis.de>
The registration form will always be shown inside the dev mode, because there is no api that transmits if registration is enabled.
is it possible to enable this feature through env var? |
@JuniorJPDJ Yes, it will be (it is not released yet). |
This commit allow registrations for users. It might be useful to add a config parameter to enable or disable it.