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