summaryrefslogtreecommitdiffstats
path: root/lib/private/appframework/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/appframework/app.php')
-rw-r--r--lib/private/appframework/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/appframework/app.php b/lib/private/appframework/app.php
index 6d54b931d5a..1e1915c85d8 100644
--- a/lib/private/appframework/app.php
+++ b/lib/private/appframework/app.php
@@ -123,7 +123,7 @@ class App {
$expireDate,
$container->getServer()->getWebRoot(),
null,
- $container->getServer()->getConfig()->getSystemValue('forcessl', false),
+ $container->getServer()->getRequest()->getServerProtocol() === 'https',
true
);
}