Fix account registration when captcha is enabled but not provided

This commit is contained in:
Egor Kislitsyn 2020-04-29 14:31:13 +04:00
parent 8148d76ec5
commit 2f77842bd3
No known key found for this signature in database
GPG Key ID: 1B49CB15B71E7805

View File

@ -47,9 +47,9 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do
:ok :ok
else else
Pleroma.Captcha.validate( Pleroma.Captcha.validate(
params.captcha_token, params[:captcha_token],
params.captcha_solution, params[:captcha_solution],
params.captcha_answer_data params[:captcha_answer_data]
) )
end end
end end