fix(admin-api): reject explicit empty passwords
This commit is contained in:
parent
3b3aad6065
commit
836f4a2d69
4 changed files with 25 additions and 11 deletions
|
|
@ -80,7 +80,7 @@ The `/api/v1/pleroma/admin/*` path is backwards compatible with `/api/pleroma/ad
|
|||
{
|
||||
`nickname`,
|
||||
`email`,
|
||||
`password` (optional)
|
||||
`password` (optional; when provided, must not be empty)
|
||||
}
|
||||
]
|
||||
- Response: Array of user objects. When a user is created without a `password`, `data`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue