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

Axum migration: /verify route

This commit is contained in:
Quentin Gliech
2022-03-28 10:03:30 +02:00
parent 6fb4d27046
commit b4d0906e75
3 changed files with 36 additions and 58 deletions

View File

@@ -95,6 +95,7 @@ where
"/register",
get(self::views::register::get).post(self::views::register::post),
)
.route("/verify/:code", get(self::views::verify::get))
.fallback(mas_static_files::Assets)
.layer(Extension(pool.clone()))
.layer(Extension(templates.clone()))