mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 18:38:27 +03:00
2fa corrections
This commit is contained in:
parent
ce4d828380
commit
2651afcef0
3 changed files with 3 additions and 3 deletions
|
@ -294,7 +294,7 @@ namespace Bit.App.Pages
|
||||||
{
|
{
|
||||||
var nfcKey = _providers[TwoFactorProviderType.YubiKey].ContainsKey("Nfc") &&
|
var nfcKey = _providers[TwoFactorProviderType.YubiKey].ContainsKey("Nfc") &&
|
||||||
(bool)_providers[TwoFactorProviderType.YubiKey]["Nfc"];
|
(bool)_providers[TwoFactorProviderType.YubiKey]["Nfc"];
|
||||||
if(_deviceInfoService.NfcEnabled || nfcKey)
|
if(_deviceInfoService.NfcEnabled && nfcKey)
|
||||||
{
|
{
|
||||||
options.Add(AppResources.YubiKeyTitle);
|
options.Add(AppResources.YubiKeyTitle);
|
||||||
}
|
}
|
||||||
|
|
2
src/App/Resources/AppResources.Designer.cs
generated
2
src/App/Resources/AppResources.Designer.cs
generated
|
@ -1502,7 +1502,7 @@ namespace Bit.App.Resources {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to This account has two-step login enabled, however, none of the configured two-step providers are supported on this device. Please use a supported supported device and/or add additional providers that are better supported across devices (such as an authenticator app)..
|
/// Looks up a localized string similar to This account has two-step login enabled, however, none of the configured two-step providers are supported on this device. Please use a supported device and/or add additional providers that are better supported across devices (such as an authenticator app)..
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string NoTwoStepAvailable {
|
public static string NoTwoStepAvailable {
|
||||||
get {
|
get {
|
||||||
|
|
|
@ -867,7 +867,7 @@
|
||||||
<comment>For 2FA whenever there are no available providers on this device.</comment>
|
<comment>For 2FA whenever there are no available providers on this device.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="NoTwoStepAvailable" xml:space="preserve">
|
<data name="NoTwoStepAvailable" xml:space="preserve">
|
||||||
<value>This account has two-step login enabled, however, none of the configured two-step providers are supported on this device. Please use a supported supported device and/or add additional providers that are better supported across devices (such as an authenticator app).</value>
|
<value>This account has two-step login enabled, however, none of the configured two-step providers are supported on this device. Please use a supported device and/or add additional providers that are better supported across devices (such as an authenticator app).</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RecoveryCodeTitle" xml:space="preserve">
|
<data name="RecoveryCodeTitle" xml:space="preserve">
|
||||||
<value>Recovery Code</value>
|
<value>Recovery Code</value>
|
||||||
|
|
Loading…
Reference in a new issue