Add a page to choose second factor

This commit is contained in:
2022-04-19 18:27:21 +02:00
parent 3add7a5d37
commit c1677071fc
5 changed files with 89 additions and 2 deletions

View File

@ -111,6 +111,7 @@ async fn main() -> std::io::Result<()> {
.route("/login", web::post().to(login_controller::login_route))
.route("/reset_password", web::get().to(login_controller::reset_password_route))
.route("/reset_password", web::post().to(login_controller::reset_password_route))
.route("/2fa_auth", web::get().to(login_controller::choose_2fa_method))
// Logout page
.route("/logout", web::get().to(login_controller::logout_route))