Skip to content

Commit

Permalink
ineffassign
Browse files Browse the repository at this point in the history
  • Loading branch information
thomiceli committed Oct 6, 2024
1 parent 809a8d8 commit e2a41bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/auth/webauthn/webauthn.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ func FinishLogin(dbUser *db.User, jsonSession []byte, response *http.Request) er
_ = json.Unmarshal(jsonSession, &session)

cred, err := webAuthn.FinishLogin(waUser, session, response)
if err != nil {
return err
}

dbCredential, err := db.GetCredentialByID(cred.ID)
if err != nil {
return err
Expand Down

0 comments on commit e2a41bf

Please sign in to comment.