1
0
mirror of https://github.com/bitwarden/web synced 2026-01-03 09:03:41 +00:00

not supported scenario

This commit is contained in:
Kyle Spearrin
2017-06-27 09:04:51 -04:00
parent 075ba931ea
commit 9f1c445214
4 changed files with 21 additions and 3 deletions

View File

@@ -18,7 +18,7 @@
if (providers.hasOwnProperty(constants.twoFactorProvider.duo)) {
add(constants.twoFactorProvider.duo);
}
if (providers.hasOwnProperty(constants.twoFactorProvider.u2f)) {
if (providers.hasOwnProperty(constants.twoFactorProvider.u2f) && u2f.isSupported) {
add(constants.twoFactorProvider.u2f);
}