Skip to content

Commit 5dd3e83

Browse files
committed
update: change error alert message in showErrorAlert from Localization.authorizationRejected to Localization.errorFetchingAuthURL
1 parent 36cb565 commit 5dd3e83

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

WooCommerce/Classes/Authentication/Application Password/ApplicationPasswordAuthorizationWebViewController.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private extension ApplicationPasswordAuthorizationWebViewController {
174174
authError == .applicationPasswordNotAvailable {
175175
navigateToApplicationPasswordDisabledUI()
176176
} else {
177-
showErrorAlert(message: Localization.authorizationRejected)
177+
showErrorAlert(message: Localization.errorFetchingAuthURL)
178178
}
179179
}
180180
activityIndicator.stopAnimating()
@@ -322,5 +322,9 @@ private extension ApplicationPasswordAuthorizationWebViewController {
322322
comment: "Error message displayed when application password authorization fails " +
323323
"during login due to the feature being disabled on the input site."
324324
)
325+
static let errorFetchingAuthURL = NSLocalizedString(
326+
"Failed to fetch the authorization URL for application passwords. Please try again.",
327+
comment: "Error message displayed when failed to fetch application password authorization URL during login"
328+
)
325329
}
326330
}

0 commit comments

Comments
 (0)