born05 / craft-sentry

Pushes Craft CMS errors to Sentry.
MIT License
10 stars 11 forks source link

Add IP address to user data if anonymous mode is not enabled #22

Open jamesmacwhite opened 2 years ago

jamesmacwhite commented 2 years ago

As a feature request, in addition to the current user data, adding the IP address of the request may be useful, but only when anonymous mode is not enabled.

Equally, you could pass the IP address when there is no user present e.g. Craft Solo.