Skip to content

Commit

Permalink
Merge pull request #38915 from nextcloud/enh/noid/increase-https-warning
Browse files Browse the repository at this point in the history
adjust admin setup check to increase warning to configure https
  • Loading branch information
szaimen committed Jun 21, 2023
2 parents 5474387 + d25d5d3 commit 5fb7ea2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/js/setupchecks.js
Original file line number Diff line number Diff line change
Expand Up @@ -741,10 +741,10 @@
}
} else if (!/(?:^(?:localhost|127\.0\.0\.1|::1)|\.onion)$/.exec(window.location.hostname)) {
messages.push({
msg: t('core', 'Accessing site insecurely via HTTP. You are strongly advised to set up your server to require HTTPS instead, as described in the {linkstart}security tips ↗{linkend}.')
msg: t('core', 'Accessing site insecurely via HTTP. You are strongly advised to set up your server to require HTTPS instead, as described in the {linkstart}security tips ↗{linkend}. Without it some important web functionality like "copy to clipboard" or "service workers" will not work!')
.replace('{linkstart}', '<a target="_blank" rel="noreferrer noopener" class="external" href="' + tipsUrl + '">')
.replace('{linkend}', '</a>'),
type: OC.SetupChecks.MESSAGE_TYPE_WARNING
type: OC.SetupChecks.MESSAGE_TYPE_ERROR
});
}
} else {
Expand Down

0 comments on commit 5fb7ea2

Please sign in to comment.