fix: skip credential generation if already exists
This commit is contained in:
parent
3eae4f0210
commit
a96ffabd59
@ -113,6 +113,8 @@ document.addEventListener('DOMContentLoaded', async () => {
|
|||||||
const hasCredentials = await secureCredentialsService.hasCredentials();
|
const hasCredentials = await secureCredentialsService.hasCredentials();
|
||||||
console.log('🔐 Has existing credentials:', hasCredentials);
|
console.log('🔐 Has existing credentials:', hasCredentials);
|
||||||
|
|
||||||
|
// Si des credentials existent, on n'a pas besoin de les régénérer
|
||||||
|
// La clé PBKDF2 devrait déjà exister dans le store pbkdf2keys
|
||||||
if (!hasCredentials) {
|
if (!hasCredentials) {
|
||||||
updateStatus('🔐 Génération des clés de sécurité...', 'loading');
|
updateStatus('🔐 Génération des clés de sécurité...', 'loading');
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user