Signature: Treat HTTP signature errors as invalid
This commit is contained in:
parent
7f4890b6a9
commit
71afba4825
2 changed files with 14 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ defmodule Pleroma.Signature do
|
|||
|> put_req_header("(request-target)", request_target)
|
||||
|> put_req_header("@request-target", request_target)
|
||||
|
||||
@http_signatures_impl.validate_conn(conn)
|
||||
@http_signatures_impl.validate_conn(conn) == true
|
||||
end
|
||||
|
||||
@spec validate_signature(Plug.Conn.t()) :: boolean()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue