You've already forked authentication-service
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:
@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user