debug: Ajouter log très visible pour confirmer la nouvelle version
- Ajouter log 🚨🚨🚨 FORCING WEBAUTHN - NO FALLBACK 🚨🚨🚨 - Confirmer que la nouvelle version sans fallback est utilisée - Identifier si le problème vient du cache ou du déploiement
This commit is contained in:
parent
cc8a2ea708
commit
b8a35ea123
@ -105,12 +105,13 @@ export class SecureCredentialsService {
|
||||
const encryptedScanKey = await this.encryptKey(credentialData.scanKey, masterKey);
|
||||
|
||||
// Forcer l'utilisation de WebAuthn (pas de fallback)
|
||||
console.log('🚨🚨🚨 FORCING WEBAUTHN - NO FALLBACK 🚨🚨🚨');
|
||||
console.log('🔍 DEBUG: Forcing WebAuthn credential creation');
|
||||
secureLogger.info('Forcing WebAuthn credential creation', {
|
||||
component: 'SecureCredentialsService',
|
||||
operation: 'webauthn_force'
|
||||
});
|
||||
|
||||
|
||||
const credential = await navigator.credentials.create({
|
||||
publicKey: {
|
||||
challenge: new Uint8Array(32),
|
||||
@ -132,7 +133,7 @@ export class SecureCredentialsService {
|
||||
attestation: 'direct'
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
secureLogger.info('WebAuthn credential created successfully', {
|
||||
component: 'SecureCredentialsService',
|
||||
operation: 'webauthn_create'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user