chore: add validation to 2fa

This commit is contained in:
kawamataryo
2024-11-28 23:08:12 +09:00
parent 7f78a70547
commit 00b7d5f108

View File

@@ -93,6 +93,10 @@ function IndexPopup() {
setErrorMessage("Error: Please enter your identifier."); setErrorMessage("Error: Please enter your identifier.");
return false; return false;
} }
if (isShowAuthFactorTokenInput && !authFactorToken) {
setErrorMessage("Error: Please enter your auth factor token.");
return false;
}
return true; return true;
}; };