-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UserDisplayName of SessionData is unused #139
Comments
Could you explain what the use case would be? Seems I added this to the session data by mistake and forgot to remove it. |
In my use case, I store the user name, display name, and the SessionData in a session cookie and only add them to our database until the whole webauthn process is completed. However, I can easily move that field into my own struct (actually that's what I'm currently doing). I totally agree that field can be removed given its existence is not intended. |
Version
0.8.2
Description
The
UserDisplayName
field in theSessionData
struct is never referenced in the package.I suppose it is designed to store the user information in the methods like
BeginRegistration()
?Maybe consider copying from User.WebAuthnDisplayName() or remove this field to avoid confusion.
Reproduction
Run the following code
code
The terminal prints
Expectations
I would expect
Documentation
No response
The text was updated successfully, but these errors were encountered: