From 68cb630339efeda1942cdf2ef48dd01ea9faccdd Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Wed, 20 Apr 2022 12:06:56 +0200 Subject: [PATCH] Automatically display first factor input form if there is only one --- src/controllers/login_controller.rs | 7 +++++++ templates/login/opt_input.html | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/controllers/login_controller.rs b/src/controllers/login_controller.rs index 48cf0a3..4d9c718 100644 --- a/src/controllers/login_controller.rs +++ b/src/controllers/login_controller.rs @@ -233,6 +233,8 @@ pub async fn reset_password_route(id: Identity, query: web::Query

Please go to your authenticator app {{ factor.name }}, generate a new code and enter it here:

- +