forked from kevadesu/forgejo
Add Active and ProhibitLogin to API (#15689)
* Added active and prohibit_login. * Do not omit fields for normal users.
This commit is contained in:
parent
d86d123322
commit
f8335444de
3 changed files with 16 additions and 0 deletions
|
@ -16250,6 +16250,11 @@
|
|||
"description": "User represents a user",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"active": {
|
||||
"description": "Is user active",
|
||||
"type": "boolean",
|
||||
"x-go-name": "IsActive"
|
||||
},
|
||||
"avatar_url": {
|
||||
"description": "URL to the user's avatar",
|
||||
"type": "string",
|
||||
|
@ -16306,6 +16311,11 @@
|
|||
"type": "string",
|
||||
"x-go-name": "UserName"
|
||||
},
|
||||
"prohibit_login": {
|
||||
"description": "Is user login prohibited",
|
||||
"type": "boolean",
|
||||
"x-go-name": "ProhibitLogin"
|
||||
},
|
||||
"restricted": {
|
||||
"description": "Is user restricted",
|
||||
"type": "boolean",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue