[Pkg-owncloud-commits] [owncloud] 193/239: add warning for HTTP connection

David Prévot taffit at moszumanska.debian.org
Fri Nov 29 01:32:36 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 2d822e3b95c70f2640b2b079bcca3b1be2dc916e
Author: Morris Jobke <morris.jobke at gmail.com>
Date:   Wed Nov 27 00:05:48 2013 +0100

    add warning for HTTP connection
---
 settings/templates/admin.php | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 253a7ff..5d170a6 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -15,6 +15,20 @@ $levelLabels = array(
 
 <?php
 
+// is ssl working ?
+if (!$_['isConnectedViaHTTPS']) {
+	?>
+<fieldset class="personalblock">
+	<h2><?php p($l->t('Security Warning'));?></h2>
+
+	<span class="securitywarning">
+		<?php p($l->t('You are accessing %s with HTTP. We strongly suggest to setup and use HTTPS.', $theme->getTitle())); ?>
+	</span>
+
+</fieldset>
+<?php
+}
+
 // is htaccess working ?
 if (!$_['htaccessworking']) {
 	?>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list