1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

Handle legacy /logout

This commit is contained in:
Quentin Gliech
2022-05-13 09:54:08 +02:00
parent 1aff98bdb3
commit 660b2d5232
7 changed files with 289 additions and 133 deletions

View File

@ -373,3 +373,10 @@ pub struct CompatLogin;
impl SimpleRoute for CompatLogin {
const PATH: &'static str = "/_matrix/client/:version/login";
}
/// `POST /_matrix/client/v3/logout`
pub struct CompatLogout;
impl SimpleRoute for CompatLogout {
const PATH: &'static str = "/_matrix/client/:version/logout";
}