Merge pull request #2506 from JefferMarcelino/feature/hide-admin-login-link

Add toggle to optionally display admin login link on status page and fix syntax errors
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-06-23 13:25:43 +08:00
commit 91ab821090
10 files changed
+23 -2

No files matched your search

+4
View File
@@ -70,6 +70,10 @@ const StatusPageSchema = mongoose.Schema(
type: Boolean,
default: true,
},
showAdminLoginLink: {
type: Boolean,
default: false,
},
},
{ timestamps: true }
);
@@ -153,6 +153,7 @@ const getStatusPage = async (url) => {
showCharts: 1,
showUptimePercentage: 1,
timezone: 1,
showAdminLoginLink: 1,
url: 1,
},
monitors: {