0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 18:53:53 +01:00

Document that you cannot login as yourself on /_synapse/admin/v1/users/<user_id>/login (#15938)

This commit is contained in:
Will Hunt 2023-07-14 13:32:13 +01:00 committed by GitHub
parent 20ae617d14
commit 8d3656b994
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

1
changelog.d/15938.doc Normal file
View file

@ -0,0 +1 @@
Improve the documentation for the login as a user admin API.

View file

@ -732,7 +732,8 @@ POST /_synapse/admin/v1/users/<user_id>/login
An optional `valid_until_ms` field can be specified in the request body as an An optional `valid_until_ms` field can be specified in the request body as an
integer timestamp that specifies when the token should expire. By default tokens integer timestamp that specifies when the token should expire. By default tokens
do not expire. do not expire. Note that this API does not allow a user to login as themselves
(to create more tokens).
A response body like the following is returned: A response body like the following is returned: