projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8148d76
)
Fix account registration when captcha is enabled but not provided
author
Egor Kislitsyn
<egor@kislitsyn.com>
Wed, 29 Apr 2020 10:31:13 +0000
(14:31 +0400)
committer
Egor Kislitsyn
<egor@kislitsyn.com>
Wed, 29 Apr 2020 17:26:07 +0000
(21:26 +0400)
lib/pleroma/web/twitter_api/twitter_api.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/twitter_api/twitter_api.ex
b/lib/pleroma/web/twitter_api/twitter_api.ex
index cf1d9c74c00ab9f60f1d10e73bb129e99c114430..a6ef9a310ccb8ee2ad9e05040c78aa29e9e2009d 100644
(file)
--- 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