1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-31 18:31:01 +00:00

fix: address minor issues detected by Go linters

This commit is contained in:
Frédéric Guillot 2025-03-24 20:42:30 -07:00
parent febb7b1748
commit 31f0afe1ac
10 changed files with 31 additions and 25 deletions

View file

@ -235,7 +235,7 @@ func (h *handler) finishLogin(w http.ResponseWriter, r *http.Request) {
return
}
sessionData.SessionData.UserID = parsedResponse.Response.UserHandle
sessionData.UserID = parsedResponse.Response.UserHandle
webAuthUser := WebAuthnUser{user, parsedResponse.Response.UserHandle, storedCredentials}
// Since go-webauthn v0.11.0, the backup eligibility flag is strictly validated, but Miniflux does not store this flag.