fix(security): add nonce-uniqueness test and fix caller indentation

This commit is contained in:
herel committed 2026-07-08 13:57:28 +02:00
1 parent 284e685ed3
commit 1a807cfeb4
2 files changed
+14 -1

No files matched your search

+1 -1
View File
@@ -600,7 +600,7 @@
localStorage.setItem('secret_phrase', data.secret_phrase);
localStorage.setItem('secret_last_fetch', Date.now().toString());
utils.showAlert(elements.secretResult, { title: 'Secret Phrase:', body: data.secret_phrase }, 'success');
utils.showAlert(elements.secretResult, { title: 'Secret Phrase:', body: data.secret_phrase }, 'success');
} else {
// Clear cached secret if user is no longer authorized
localStorage.removeItem('secret_phrase');