Skip to content

Commit

Permalink
Fixing a bad URL that sends the user to docs if they have an open site (
Browse files Browse the repository at this point in the history
nightscout#7005)

Fixing a bad URL that sends the user to docs if they have an open site 
http://nightscout.github.io/nightscout/security/#how-to-turn-off-unauthorized-access

Co-authored-by: Sulka Haro <[email protected]>
  • Loading branch information
2 people authored and Alex Ovcinnikov committed Nov 6, 2021
1 parent b46bdc5 commit e51b8e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server/bootevent.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function boot (env, language) {
if (env.settings.authDefaultRoles == 'readable') {
const message = {
title: "Nightscout readable by world"
,message: "Your Nightscout installation is readable by anyone who knows the web page URL. Please consider closing access to the site by following the instructions in the <a href=\"http://nightscout.github.io/nightscout/admin_tools/#turn-off-unauthorized-access\" target=\"_new\">Nightscout documentation</a>."
,message: "Your Nightscout installation is readable by anyone who knows the web page URL. Please consider closing access to the site by following the instructions in the <a href=\"http://nightscout.github.io/nightscout/security/#how-to-turn-off-unauthorized-access\" target=\"_new\">Nightscout documentation</a>."
,persistent: true
};
ctx.adminnotifies.addNotify(message);
Expand Down

0 comments on commit e51b8e0

Please sign in to comment.