We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CurrentUser.ip_addr is nil for anonymous users. This breaks a couple things:
CurrentUser.ip_addr
nil
User#validate_sock_puppets doesn't actually work. Users can still register multiple accounts under the same IP.
User#validate_sock_puppets
User#validate_ip_addr_is_not_banned doesn't actually prevent IP banned users from registering new accounts.
User#validate_ip_addr_is_not_banned
The text was updated successfully, but these errors were encountered:
Fix danbooru#3464: CurrentUser.ip_addr isn't set for anonymous users.
ad74d9e
Merge pull request #3465 from evazion/fix-3464
12ce691
Fix #3464: CurrentUser.ip_addr isn't set for anonymous users.
Successfully merging a pull request may close this issue.
CurrentUser.ip_addr
isnil
for anonymous users. This breaks a couple things:User#validate_sock_puppets
doesn't actually work. Users can still register multiple accounts under the same IP.User#validate_ip_addr_is_not_banned
doesn't actually prevent IP banned users from registering new accounts.The text was updated successfully, but these errors were encountered: