]> source.dussan.org Git - nextcloud-server.git/commitdiff
adjust admin setup check to increase warning to set up https 38915/head
authorSimon L <szaimen@e.mail.de>
Tue, 20 Jun 2023 20:54:48 +0000 (22:54 +0200)
committerSimon L <szaimen@e.mail.de>
Tue, 20 Jun 2023 20:54:48 +0000 (22:54 +0200)
Signed-off-by: Simon L <szaimen@e.mail.de>
core/js/setupchecks.js

index 6260292db436504730c0bcf3c8e4983d79b68847..4fb020e44a311d66424fe03c5f9e34691a7b563f 100644 (file)
                                        }
                                } 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 {