feat: returns the user details on successful account modification

Closes #8
This commit is contained in:
silver 2023-08-05 17:36:48 +01:00
parent 91ee2a246e
commit 61ccaf0bdb
2 changed files with 61 additions and 3 deletions

View file

@ -28,6 +28,20 @@ Fields:
}
```
Success:
Each value is either a string or ``null``.
```json
{
"result": "success",
"success": {
"cn": "Firstname Surname",
"mail": "Email address",
"skDiscord": null,
"sshPublicKey": "ssh key"
}
}
```
Changing ``userPassword`` requires the existing password in teh apssword field and the new one in teh value field.
### POST /ldap/new