diff --git a/public/admin/admin.css b/public/admin/admin.css index 7eec5df..eac4489 100644 --- a/public/admin/admin.css +++ b/public/admin/admin.css @@ -550,11 +550,3 @@ a.btn { text-decoration: none; } gap: 8px; margin-left: auto; } -.pin-note { margin-top: 12px; } -.pin-note code { - font-size: 0.92em; - padding: 1px 5px; - border-radius: 4px; - background: var(--bg); - border: 1px solid var(--border); -} diff --git a/public/admin/admin.js b/public/admin/admin.js index a76cbb1..cc10af8 100644 --- a/public/admin/admin.js +++ b/public/admin/admin.js @@ -132,7 +132,6 @@ function renderPin(state) { : set ? 'Admin is locked. This page asks for the PIN, and so does every admin request.' : 'Admin is open to anyone on the network. Set a 6-digit PIN to lock it.'; - if (state.dataDir) document.getElementById('pin-file').textContent = state.dataDir + '/proddash.json'; } function pinMessage(text, bad = false) { diff --git a/public/admin/index.html b/public/admin/index.html index a327283..8157b88 100644 --- a/public/admin/index.html +++ b/public/admin/index.html @@ -92,10 +92,6 @@ -

Only this page and the admin API ask for it — dashboards stay - open, and it is nothing to do with a module's own PIN, such as Slack's send PIN. Forgotten? - Remove adminPin from proddash.json in the settings - folder and restart.