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

Parameter confusion between "user" and "username" in POST /user/ request #3876

Open
plettich opened this issue Mar 4, 2024 · 0 comments
Open
Labels
Layer: API API related issues Prio: Low

Comments

@plettich
Copy link
Member

plettich commented Mar 4, 2024

When using the API to create a user (POST /user/), the parameter user is required but only used for the Audit-Log entry. The parameter username is usually used to define the login name of the user:

searchFields = {"username": "text",

The UI sends both parameters to the API.

@plettich plettich added Prio: Low Layer: API API related issues labels Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Layer: API API related issues Prio: Low
Projects
None yet
Development

No branches or pull requests

1 participant