1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

Axum migration: /reauth route

This commit is contained in:
Quentin Gliech
2022-03-25 16:31:40 +01:00
parent 6e7d0a6cfd
commit b4dc2b38d0
4 changed files with 109 additions and 90 deletions

View File

@@ -87,6 +87,10 @@ where
get(self::views::login::get).post(self::views::login::post),
)
.route("/logout", post(self::views::logout::post))
.route(
"/reauth",
get(self::views::reauth::get).post(self::views::reauth::post),
)
.fallback(mas_static_files::Assets)
.layer(Extension(pool.clone()))
.layer(Extension(templates.clone()))