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

Axum migration: /register route

This commit is contained in:
Quentin Gliech
2022-03-25 16:59:21 +01:00
parent b4dc2b38d0
commit 6fb4d27046
4 changed files with 86 additions and 90 deletions

View File

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