projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Handle black name fields on incoming users.
[akkoma]
/
lib
/
pleroma
/
plugs
/
http_signature.ex
diff --git
a/lib/pleroma/plugs/http_signature.ex
b/lib/pleroma/plugs/http_signature.ex
index 17030cdbfcd594339bb87da602eb34ee30601262..b1e0d91a73c1322470a7c18db8ee2dce1c73ae01 100644
(file)
--- a/
lib/pleroma/plugs/http_signature.ex
+++ b/
lib/pleroma/plugs/http_signature.ex
@@
-6,6
+6,10
@@
defmodule Pleroma.Web.Plugs.HTTPSignaturePlug do
options
end
+ def call(%{assigns: %{valid_signature: true}} = conn, opts) do
+ conn
+ end
+
def call(conn, opts) do
if get_req_header(conn, "signature") do
conn = conn