diff --git a/ios/brave-ios/Sources/Brave/Frontend/Browser/Authenticator.swift b/ios/brave-ios/Sources/Brave/Frontend/Browser/Authenticator.swift index 58526848156c..ca313feaa2b5 100644 --- a/ios/brave-ios/Sources/Brave/Frontend/Browser/Authenticator.swift +++ b/ios/brave-ios/Sources/Brave/Frontend/Browser/Authenticator.swift @@ -91,11 +91,7 @@ class Authenticator { } } - origin += protectionSpace.host - - if protectionSpace.port != 80 && protectionSpace.port != 443 { - origin += ":\(protectionSpace.port)" - } + origin += "\(protectionSpace.host):\(protectionSpace.port)" let formatted = String(format: Strings.authPromptAlertMessageText, origin) let alert = AlertController(