summaryrefslogtreecommitdiffstats
path: root/Http/EntryPoint
diff options
context:
space:
mode:
authorAntoine Hérault <antoine.herault@gmail.com>2011-06-25 18:19:13 +0200
committerAntoine Hérault <antoine.herault@gmail.com>2011-06-25 18:19:13 +0200
commitb79f41de462fd3aab9761fc46a29954a12e93a95 (patch)
tree36a27c38b4a143f68860468462d92a31735d973d /Http/EntryPoint
parent801b99f3ca51f4b4d3be3866089f138179059a6c (diff)
downloadsymfony-security-b79f41de462fd3aab9761fc46a29954a12e93a95.zip
symfony-security-b79f41de462fd3aab9761fc46a29954a12e93a95.tar.gz
symfony-security-b79f41de462fd3aab9761fc46a29954a12e93a95.tar.bz2
[Security] Fix http retry authentication entry point
Diffstat (limited to 'Http/EntryPoint')
-rw-r--r--Http/EntryPoint/RetryAuthenticationEntryPoint.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/EntryPoint/RetryAuthenticationEntryPoint.php b/Http/EntryPoint/RetryAuthenticationEntryPoint.php
index cb549e6..12ba538 100644
--- a/Http/EntryPoint/RetryAuthenticationEntryPoint.php
+++ b/Http/EntryPoint/RetryAuthenticationEntryPoint.php
@@ -40,7 +40,7 @@ class RetryAuthenticationEntryPoint implements AuthenticationEntryPointInterface
$scheme = $request->isSecure() ? 'http' : 'https';
if ('http' === $scheme && 80 != $this->httpPort) {
$port = ':'.$this->httpPort;
- } elseif ('https' === $scheme && 443 != $this->httpPort) {
+ } elseif ('https' === $scheme && 443 != $this->httpsPort) {
$port = ':'.$this->httpsPort;
} else {
$port = '';