mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-14 05:04:49 +00:00
Fix account registration when captcha is enabled but not provided
This commit is contained in:
parent
8148d76ec5
commit
2f77842bd3
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue