Skip to content

Commit 1182278

Browse files
committed
fix: panic
1 parent 70211a1 commit 1182278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

selfservice/strategy/oidc/strategy_registration.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func (s *Strategy) processRegistration(w http.ResponseWriter, r *http.Request, a
197197

198198
i, err := s.createIdentity(w, r, a, claims, provider, container, jn)
199199
if err != nil {
200-
return nil, s.handleError(w, r, a, provider.Config().ID, i.Traits, err)
200+
return nil, s.handleError(w, r, a, provider.Config().ID, nil, err)
201201
}
202202

203203
// Validate the identity itself

0 commit comments

Comments
 (0)