diff --git a/backend/app/cmd/server.go b/backend/app/cmd/server.go index 579459a6..3f081d1c 100644 --- a/backend/app/cmd/server.go +++ b/backend/app/cmd/server.go @@ -911,6 +911,8 @@ func (s *ServerCommand) addAuthProviders(authenticator *auth.Service) error { } return true, nil }), + // Custom user ID generator, used to distinguish anonymous users with the same login + // coming from different IPs func(user string, r *http.Request) string { return user + r.RemoteAddr })