Skip to content
Snippets Groups Projects
Commit af46d997 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #6075 from owncloud/ssl-warning

add warning for HTTP connection
parents 34561099 8506d2bf
Branches
No related tags found
No related merge requests found
......@@ -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 via HTTP. We strongly suggest you configure your server to require using HTTPS instead.', $theme->getTitle())); ?>
</span>
</fieldset>
<?php
}
// is htaccess working ?
if (!$_['htaccessworking']) {
?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment