Get auth challenge

This commit is contained in:
2022-04-23 18:56:14 +02:00
parent f09a62f8df
commit 1d69ea536f
5 changed files with 129 additions and 7 deletions

View File

@ -119,6 +119,7 @@ async fn main() -> std::io::Result<()> {
.route("/2fa_auth", web::get().to(login_controller::choose_2fa_method))
.route("/2fa_otp", web::get().to(login_controller::login_with_otp))
.route("/2fa_otp", web::post().to(login_controller::login_with_otp))
.route("/2fa_webauthn", web::get().to(login_controller::login_with_webauthn))
// Logout page
.route("/logout", web::get().to(login_controller::logout_route))