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:
parent
63f6ac828f
commit
bf68677d3a
@ -583,9 +583,9 @@ async function handleMainPairing(): Promise<void> {
|
|||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Pairing failed:', error);
|
console.error('Pairing failed:', error);
|
||||||
|
|
||||||
if (mainStatus) {
|
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>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user