mirror of
https://github.com/standardnotes/server
synced 2026-01-16 20:04:32 -05:00
Revert "fix(auth): fido options user verification as discouraged"
This reverts commit 3d475cc779.
This commit is contained in:
@@ -26,7 +26,7 @@ export class GenerateAuthenticatorAuthenticationOptions implements UseCaseInterf
|
||||
type: 'public-key',
|
||||
transports: authenticator.props.transports,
|
||||
})),
|
||||
userVerification: 'discouraged',
|
||||
userVerification: 'preferred',
|
||||
})
|
||||
|
||||
const authenticatorChallengeOrError = AuthenticatorChallenge.create({
|
||||
|
||||
@@ -34,10 +34,6 @@ export class GenerateAuthenticatorRegistrationOptions implements UseCaseInterfac
|
||||
userID: userUuid.value,
|
||||
userName: username.value,
|
||||
attestationType: 'none',
|
||||
authenticatorSelection: {
|
||||
requireResidentKey: false,
|
||||
userVerification: 'discouraged',
|
||||
},
|
||||
excludeCredentials: authenticators.map((authenticator) => ({
|
||||
id: authenticator.props.credentialId,
|
||||
type: 'public-key',
|
||||
|
||||
Reference in New Issue
Block a user