MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / testPushover

Function testPushover

web/scripts/ragnar_modern.js:13053–13066  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13051 addConsoleMessage('Authentication enabled - database encrypted', 'success');
13052 } else {
13053 statusEl.className = 'p-3 rounded-lg text-sm bg-red-900/30 border border-red-700 text-red-300';
13054 statusEl.textContent = result.error || 'Setup failed';
13055 statusEl.classList.remove('hidden');
13056 btn.disabled = false;
13057 btn.textContent = 'Enable Authentication';
13058 }
13059 } catch (error) {
13060 statusEl.className = 'p-3 rounded-lg text-sm bg-red-900/30 border border-red-700 text-red-300';
13061 statusEl.textContent = 'Setup failed: ' + (error.message || 'Unknown error');
13062 statusEl.classList.remove('hidden');
13063 btn.disabled = false;
13064 btn.textContent = 'Enable Authentication';
13065 }
13066}
13067
13068function copyRecoveryCodes() {
13069 if (window._tempRecoveryCodes) {

Callers

nothing calls this directly

Calls 3

showPushoverStatusFunction · 0.70
postAPIFunction · 0.70
addConsoleMessageFunction · 0.70

Tested by

no test coverage detected