mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
add warning for HTTP connection
This commit is contained in:
parent
4f15282bc9
commit
2d822e3b95
1 changed files with 14 additions and 0 deletions
|
|
@ -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']) {
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue