From e48a10a0d7ba44261ce118c024596f61266ff20a Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 02 Jul 2009 02:38:26 -0400
Subject: [PATCH] Add option to enforce https connections

---
 config/main.inc.php.dist |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 29f6e12..f5e4c7c 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -50,6 +50,10 @@
 // possible units: s, m, h, d, w
 $rcmail_config['message_cache_lifetime'] = '10d';
 
+// enforce connections over https
+// with this option enabled, all non-secure connections will be redirected
+$rcmail_config['force_https'] = FALSE;
+
 // automatically create a new RoundCube user when log-in the first time.
 // a new user will be created once the IMAP login succeeds.
 // set to false if only registered users can use this service

--
Gitblit v1.9.1