From: Egor Kislitsyn Date: Wed, 29 Apr 2020 10:31:13 +0000 (+0400) Subject: Fix account registration when captcha is enabled but not provided X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=2f77842bd3c07d915cd341f7d3ba1f9053cc3a18;p=akkoma Fix account registration when captcha is enabled but not provided --- diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index cf1d9c74c..a6ef9a310 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -47,9 +47,9 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do :ok else Pleroma.Captcha.validate( - params.captcha_token, - params.captcha_solution, - params.captcha_answer_data + params[:captcha_token], + params[:captcha_solution], + params[:captcha_answer_data] ) end end