-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtopic/apiConcerns mainly the APIConcerns mainly the APItype/bug
Milestone
Description
Description
When I create an user, I found the login_name
is empty. My request like this:
curl -X 'POST' \ 'https://x.x.x.x:8080/api/v1/admin/users' \ -H 'accept: application/json' \ -H 'authorization: Basic xxxxxxxxx' \ -H 'Content-Type: application/json' \ -d '{ "created_at": "2024-04-16T01:56:42.453Z", "email": "[email protected]", "full_name": "test3", "login_name": "test3", "must_change_password": false, "password": "aaaa@2024", "restricted": true, "send_notify": true, "source_id": 0, "username": "test3", "visibility": "public" }'
Gitea Version
1.21.7
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
None
Metadata
Metadata
Assignees
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtopic/apiConcerns mainly the APIConcerns mainly the APItype/bug