Get auth challenge
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user