})
.catch(err => {
console.error('Error getting webauthn registration data from server', err)
- throw new Error(t('settings', 'Server error while trying to add webauthn device'))
+ throw new Error(t('settings', 'Server error while trying to add WebAuthn device'))
})
},
this.$emit('added', device)
} catch (err) {
logger.error('Error persisting webauthn registration', { error: err })
- throw new Error(t('settings', 'Server error while trying to complete webauthn device registration'))
+ throw new Error(t('settings', 'Server error while trying to complete WebAuthn device registration'))
}
},