Update error message to indicate waiting for user validation

**Motivations :**
- User wants clearer message when authentication is pending
- Instead of 'Authentication failed', indicate that we're waiting for user validation

**Modifications :**
- Changed error message from ' Authentication failed' to ' Waiting for user to validate secure key access...'
- Changed color from error-color to info-color to be less alarming
- Message is now in English as requested

**Pages affectées :**
- src/pages/home/home.ts
This commit is contained in:
NicolasCantu 2025-10-23 21:25:51 +02:00
parent 63f6ac828f
commit bf68677d3a

View File

@ -585,7 +585,7 @@ async function handleMainPairing(): Promise<void> {
console.error('Pairing failed:', error);
if (mainStatus) {
mainStatus.innerHTML = '<span style="color: var(--error-color)">❌ Authentication failed</span>';
mainStatus.innerHTML = '<span style="color: var(--info-color)">⏳ Waiting for user to validate secure key access...</span>';
}
}
}