chore(security): apply golangci-lint fixes to lookup and security packages

This commit is contained in:
Hein
2026-10-01 13:21:00 +02:00
parent c9fa8c60f2
commit 2516fcb13d
16 changed files with 29 additions and 31 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ func (r *passkeyRouter) Store(ctx context.Context, rec lookup.PasskeyCredentialR
return st.Store(ctx, rec)
}
func (r *passkeyRouter) Get(ctx context.Context, credentialID string) (int, uint32, error) {
func (r *passkeyRouter) Get(ctx context.Context, credentialID string) (userID int, signCount uint32, err error) {
st, err := pick[lookup.PasskeyStore](r.c, ctx, lookup.OpPasskeyGet, r.c.procs.PasskeyGetCredential, r.proc, r.direct)
if err != nil {
return 0, 0, err