From 9da6054ec01bcb65d46c7c26a78afa947ca20032 Mon Sep 17 00:00:00 2001 From: devStorm <59678453+developStorm@users.noreply.github.com> Date: Tue, 5 May 2020 05:16:33 -0700 Subject: [PATCH] Allow to use either OTP or FIDO for 2FA --- app/auth/templates/auth/fido.html | 6 ++++++ app/auth/templates/auth/mfa.html | 6 ++++++ app/auth/views/fido.py | 3 ++- app/auth/views/mfa.py | 2 +- 4 files changed, 15 insertions(+), 2 deletions(-) diff --git a/app/auth/templates/auth/fido.html b/app/auth/templates/auth/fido.html index abde9d4f..836dbc0d 100644 --- a/app/auth/templates/auth/fido.html +++ b/app/auth/templates/auth/fido.html @@ -26,6 +26,12 @@ + {% if enable_otp %} +
+ Don't have your key with you?
Verify by One-Time Password +
+ {% endif %} +