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

This commit is contained in:
2026-07-08 13:57:28 +02:00
parent 284e685ed3
commit 1a807cfeb4
2 changed files with 14 additions and 1 deletions
+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');