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

WIP: Handle /login

This commit is contained in:
Quentin Gliech
2022-05-12 16:54:55 +02:00
parent 0527af073d
commit 1ebdd0b731
3 changed files with 95 additions and 0 deletions

View File

@ -366,3 +366,10 @@ impl Route for Consent {
format!("/consent/{}", self.0).into()
}
}
/// `GET|POST /_matrix/client/v3/login`
pub struct CompatLogin;
impl SimpleRoute for CompatLogin {
const PATH: &'static str = "/_matrix/client/:version/login";
}