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

Record registration IP on account creation #327

Open
pchote opened this issue Aug 16, 2018 · 1 comment
Open

Record registration IP on account creation #327

pchote opened this issue Aug 16, 2018 · 1 comment

Comments

@pchote
Copy link
Member

pchote commented Aug 16, 2018

This would help a lot with fighting our ongoing abuse

@pchote
Copy link
Member Author

pchote commented Aug 19, 2018

https://docs.djangoproject.com/en/1.9/ref/contrib/auth/#module-django.contrib.auth.signals can be used to get a callback when the user logs in, which could then be stored in a custom "Last used IP" field (https://docs.djangoproject.com/en/1.9/topics/auth/customizing/#extending-the-existing-user-model)

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