fix: remove double popup on key rotation
This commit is contained in:
parent
c73951ea91
commit
2bfe3a0272
|
|
@ -157,7 +157,6 @@
|
|||
const data = await api('/account/reset-key', { method: 'POST', body: {} });
|
||||
localStorage.setItem('pingql_key', data.key);
|
||||
document.getElementById('primary-key').textContent = data.key;
|
||||
alert(`New key: ${data.key}\n\nYour old key is now invalid.`);
|
||||
location.reload();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue