Closed alexander-haller closed 4 months ago
In GitLab by @mhxion on Dec 16, 2023, 21:19
requested review from @alexander-haller
In GitLab by @project_994_bot_1f89ebd5af89f5e987c71c650dd64895 on Dec 16, 2023, 21:21
added 1 commit
approved this merge request
In GitLab by @mhxion on Dec 16, 2023, 21:19
Merges add-patch-api -> dev
This PR adds a new patch command which makes HTTP
PATCH
requests. The goal was to discover the way to change member password. For now, we are able to make basic PATCH requests.Change member password
Unfortunately, this isn't documented. I could only find it from eLabFTW's OpenAPI specification. For now, we can change a member password in the following simplest way as we intend to implement the full feature later.
patch
usagepatch
command can be really powerful as it allows us to make changes to eLabFTW server settings. E.g., we can update the time (in minutes) after which the authentication cookie will expire if we wish to logout every member.We can also publish an announcement: