From 2f0f318285df7b0c911e48e8c66df35af148d571 Mon Sep 17 00:00:00 2001 From: Brandon T Date: Fri, 3 Jan 2025 12:44:23 -0500 Subject: [PATCH] Always show port --- .../Sources/Brave/Frontend/Browser/Authenticator.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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(