1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

adjust priorities

This commit is contained in:
Kyle Spearrin
2017-06-26 15:32:34 -04:00
parent 74d8e595f2
commit afcc5ceb5b
3 changed files with 5 additions and 6 deletions

View File

@@ -91,6 +91,7 @@ angular
var provider = $filter('filter')(constants.twoFactorProviderInfo, { type: keys[i], active: true });
if (provider.length && provider[0].priority > providerPriority) {
providerType = provider[0].type;
providerPriority = provider[0].priority;
}
}
return parseInt(providerType);