mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-07-20 10:04:08 +00:00
change user password via accounts API
This commit is contained in:
parent
b2b9891a58
commit
8f9dafce20
4 changed files with 54 additions and 0 deletions
|
@ -257,6 +257,7 @@ type apiUserAddRequest struct {
|
|||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
Tier string `json:"tier"`
|
||||
Force bool `json:"force"` // Used to change passwords/override existing user
|
||||
// Do not add 'role' here. We don't want to add admins via the API.
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue