mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-26 13:35:21 +01:00
Fix account registration when captcha is enabled but not provided
This commit is contained in:
parent
8148d76ec5
commit
2f77842bd3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user