mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
[PM-9755] Update duo AuthUrl error message to match other clients (#3945)
This commit is contained in:
parent
73e158afd0
commit
3238279290
3 changed files with 4 additions and 3 deletions
|
@ -209,7 +209,7 @@ class TwoFactorLoginViewModel @Inject constructor(
|
|||
sendEvent(
|
||||
event = authUrl
|
||||
?.let { TwoFactorLoginEvent.NavigateToDuo(uri = Uri.parse(it)) }
|
||||
?: TwoFactorLoginEvent.ShowToast(R.string.generic_error_message.asText()),
|
||||
?: TwoFactorLoginEvent.ShowToast(R.string.error_connecting_with_the_duo_service_use_a_different_two_step_login_method_or_contact_duo_for_assistance.asText()),
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
@ -1004,8 +1004,9 @@ Do you want to switch to this account?</string>
|
|||
<string name="turn_on_later">Turn on later</string>
|
||||
<string name="turn_on_autofill_later">Turn on autofill later?</string>
|
||||
<string name="return_to_complete_this_step_anytime_in_settings">You can return to complete this step anytime in Settings.</string>
|
||||
<string name="what_bitwarden_has_to_offer">You can now use autofill to log into apps and websites using your saved passwords. Now, you can explore everything else Bitwarden has to offer.</string>
|
||||
<string name="what_bitwarden_has_to_offer">You can now use autofill to log into apps and websites using your saved passwords. Now, you can explore everything else Bitwarden has to offer.</string>
|
||||
<string name="youre_all_set">You\'re all set!</string>
|
||||
<string name="error_connecting_with_the_duo_service_use_a_different_two_step_login_method_or_contact_duo_for_assistance">Error connecting with the Duo service. Use a different two-step login method or contact Duo for assistance.</string>
|
||||
<string name="master_password_hint_not_specified">Master password hint</string>
|
||||
<string name="master_password_important_hint">Important: Your master password cannot be recovered if you forget it! 12 characters minimum.</string>
|
||||
</resources>
|
||||
|
|
|
@ -385,7 +385,7 @@ class TwoFactorLoginViewModelTest : BaseViewModelTest() {
|
|||
viewModel.eventFlow.test {
|
||||
viewModel.trySendAction(TwoFactorLoginAction.ContinueButtonClick)
|
||||
assertEquals(
|
||||
TwoFactorLoginEvent.ShowToast(R.string.generic_error_message.asText()),
|
||||
TwoFactorLoginEvent.ShowToast(R.string.error_connecting_with_the_duo_service_use_a_different_two_step_login_method_or_contact_duo_for_assistance.asText()),
|
||||
awaitItem(),
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue