mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-24 17:14:41 +00:00
fix: make "login_name" field optional for API edit user (#38917)
This commit is contained in:
+1
-5
@@ -4956,7 +4956,6 @@
|
||||
"x-go-name": "FullName"
|
||||
},
|
||||
"login_name": {
|
||||
"default": "empty",
|
||||
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
||||
"type": "string",
|
||||
"x-go-name": "LoginName"
|
||||
@@ -6234,7 +6233,6 @@
|
||||
"x-go-name": "Location"
|
||||
},
|
||||
"login_name": {
|
||||
"default": "empty",
|
||||
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
||||
"type": "string",
|
||||
"x-go-name": "LoginName"
|
||||
@@ -6286,8 +6284,7 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"source_id",
|
||||
"login_name"
|
||||
"source_id"
|
||||
],
|
||||
"type": "object",
|
||||
"x-go-package": "gitea.dev/modules/structs"
|
||||
@@ -10658,7 +10655,6 @@
|
||||
"x-go-name": "UserName"
|
||||
},
|
||||
"login_name": {
|
||||
"default": "empty",
|
||||
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
||||
"type": "string",
|
||||
"x-go-name": "LoginName"
|
||||
|
||||
Reference in New Issue
Block a user