From 00b7d5f10813c072fe9b873aca5b16fdd4662d29 Mon Sep 17 00:00:00 2001 From: kawamataryo Date: Thu, 28 Nov 2024 23:08:12 +0900 Subject: [PATCH] chore: add validation to 2fa --- src/popup.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/popup.tsx b/src/popup.tsx index 68a418b..73ef140 100644 --- a/src/popup.tsx +++ b/src/popup.tsx @@ -93,6 +93,10 @@ function IndexPopup() { setErrorMessage("Error: Please enter your identifier."); return false; } + if (isShowAuthFactorTokenInput && !authFactorToken) { + setErrorMessage("Error: Please enter your auth factor token."); + return false; + } return true; };