akiyamaSM / larapoll

A Laravel package to manage your polls
MIT License
260 stars 58 forks source link

Tweak - the IP capturing method for guest user. #112

Closed finallyRaunak closed 3 years ago

finallyRaunak commented 3 years ago

If a site is using Cloudflare as a DNS manager and if the request are peroxide via Cloudflare then it set's a different header HTTP_CF_CONNECTING_IP which has the visitor IP address. So this commit will solve the issue #111

akiyamaSM commented 3 years ago

Thanks @finallyRaunak for the PR. sorry for the late action.