Skip to content

Commit

Permalink
Always show port
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon-T committed Jan 3, 2025
1 parent c40eb1c commit 2f0f318
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 2f0f318

Please sign in to comment.