Skip to content

Commit

Permalink
supply authnID when linking
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelAtDeluxe authored and jrozner committed May 8, 2023
1 parent e100771 commit 12f9ef2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/authschemes/webauthn/webauthnuser.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func makeNewWebAuthnUser(firstName, lastName, email, username, keyName string) w
func makeLinkingWebAuthnUser(userID int64, username, keyName string) webauthnUser {
return webauthnUser{
UserID: i64ToByteSlice(userID),
AuthnID: []byte(uuid.New().String()),
UserName: username,
KeyName: keyName,
KeyCreatedDate: time.Now(),
Expand Down

0 comments on commit 12f9ef2

Please sign in to comment.