1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +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

@@ -99,7 +99,11 @@ where
)
.route(
mas_router::CompatLogin::route(),
get(self::compat::get).post(self::compat::post),
get(self::compat::login::get).post(self::compat::login::post),
)
.route(
mas_router::CompatLogout::route(),
post(self::compat::logout::post),
)
.layer(
CorsLayer::new()