From 9a77b89cda657ac2e51b388b01bde5ae29d17389 Mon Sep 17 00:00:00 2001 From: Georg Gadinger Date: Tue, 7 Feb 2023 07:38:59 +0100 Subject: [PATCH] use remote_ip 2: electric boogaloo --- app/controllers/ajax/question_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/ajax/question_controller.rb b/app/controllers/ajax/question_controller.rb index 5d10cf2f..f3bef810 100644 --- a/app/controllers/ajax/question_controller.rb +++ b/app/controllers/ajax/question_controller.rb @@ -31,7 +31,7 @@ class Ajax::QuestionController < AjaxController UseCase::Question::CreateFollowers.call( source_user_id: current_user.id, content: params[:question], - author_identifier: AnonymousBlock.get_identifier(request.ip) + author_identifier: AnonymousBlock.get_identifier(request.remote_ip) ) return end