MasterKale / SimpleWebAuthn

WebAuthn, Simplified. A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers, Node, Deno, and more.
https://simplewebauthn.dev
MIT License
1.62k stars 137 forks source link

fix/536-default-displayname-to-empty-string #538

Closed MasterKale closed 8 months ago

MasterKale commented 8 months ago

This PR changes the behavior of generateRegistrationOptions(). userDisplayName will no longer default to userName but to an empty string ("") instead when not specified.

Fixes #536.