-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
add filter:api.user.signup.requires-approval.result #6850
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
base: develop
Are you sure you want to change the base?
add filter:api.user.signup.requires-approval.result #6850
Conversation
b1b8810 to
f8259c5
Compare
|
Hi, To not break the API, can we just return a |
It sounds illogical to return
|
|
Thank you for your answer. Can you explain why you want to deprecate |
As far as I remember it was to just have one endpoint for registrations (since |
|
I agree it would be simpler, but I just want to plan the case where we add more/different body params for the |
Description
POST /registrations/requestendpoint and instead usePOST /registerfor all type of registrations.POST /registernow returns 200 (previously 204) and always returns{ state: { id: number, label: string } }(both for direct and request registrations). The state will tell the client whether it became a direct registration or not.filter:api.user.signup.requires-approval.result.Example:
Related issues
closes #6691
Has this been tested?