Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict User registration based on location #16

Open
odavis opened this issue Feb 21, 2014 · 1 comment
Open

Restrict User registration based on location #16

odavis opened this issue Feb 21, 2014 · 1 comment

Comments

@odavis
Copy link
Member

odavis commented Feb 21, 2014

Restrict User registration based on location - Orlando/surrounding cities.
If Central Florida -> registration page
Else -> request city.io in your town page

Look in to geocader / maxmind
http://www.rubygeocoder.com/
http://www.maxmind.com/en/locate_my_ip

@joelmartinez
Copy link

I wonder if you should first ask the user for their html5 location ... if they say yes, then it's a much better indicator of location than IP geocoding. Of course, if they say no (or don't answer at all), you could use the IP as a backup 🌎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants