mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:01:18 +08:00
BUGFIX: IP lookup wasn't working when using HTTPS
REFACTOR: the ip locator into a ip-lookup component
This commit is contained in:
@ -40,7 +40,6 @@ class AdminUserIndexQuery
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
def filter_by_ip
|
||||
if params[:ip].present?
|
||||
@query.where('ip_address = :ip or registration_ip_address = :ip', ip: params[:ip])
|
||||
|
Reference in New Issue
Block a user