Fix some more typos
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
f53197c82a
commit
017e35fbf1
72 changed files with 120 additions and 120 deletions
|
|
@ -29,7 +29,7 @@ defmodule Pleroma.Captcha.Kocaptcha do
|
|||
|
||||
@impl Service
|
||||
def validate(_token, captcha, answer_data) do
|
||||
# Here the token is unsed, because the unencrypted captcha answer is just passed to method
|
||||
# Here the token is unused, because the unencrypted captcha answer is just passed to method
|
||||
if not is_nil(captcha) and
|
||||
:crypto.hash(:md5, captcha) |> Base.encode16() == String.upcase(answer_data),
|
||||
do: :ok,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue