Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PM-9754] Update Duo AuthUrl null error message to match other clients #954

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,10 @@ extension TwoFactorAuthProcessor: DuoAuthenticationFlowDelegate {

guard let authURLValue = maybeAuthURL,
let authURL = URL(string: authURLValue) else {
state.toast = Toast(text: Localizations.duoUnsupported)
state.toast = Toast(
// swiftlint:disable:next line_length
text: Localizations.errorConnectingWithTheDuoServiceUseADifferentTwoStepLoginMethodOrContactDuoForAssistance
)
Comment on lines -380 to +383
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๐Ÿค” Can we add a test for this?
๐Ÿค” I see the localization string Localizations.duoUnsupported is not used anywhere else. Can we remove it from the localizations file?

return
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -979,4 +979,5 @@
"SetUpLaterQuestion" = "Set up later?";
"YouCanFinishSetupUnlockAnytimeDescriptionLong" = "You can finish setup anytime in Account Security under Settings. Youโ€™ll use your master password to unlock until you set up another method.";
"Confirm" = "Confirm";
"ErrorConnectingWithTheDuoServiceUseADifferentTwoStepLoginMethodOrContactDuoForAssistance" = "Error connecting with the Duo service. Use a different two-step login method or contact Duo for assistance.";
"ThePreAuthUrlsCouldNotBeLoadedToStartTheAccountCreation" = "The Pre Auth Urls could not be loaded to start the account creation.";
Loading