projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d7831e
)
Fix Mastodon signature bug.
author
Roger Braun
<roger@rogerbraun.net>
Wed, 3 May 2017 17:23:12 +0000
(19:23 +0200)
committer
Roger Braun
<roger@rogerbraun.net>
Wed, 3 May 2017 17:23:12 +0000
(19:23 +0200)
lib/pleroma/web/websub/websub.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/websub/websub.ex
b/lib/pleroma/web/websub/websub.ex
index e32fc881782458b0d25fbad5aaa384ed533607c0..0d0d19c889cd4e1ba66106a2463f3eb37c07c4d5 100644
(file)
--- a/
lib/pleroma/web/websub/websub.ex
+++ b/
lib/pleroma/web/websub/websub.ex
@@
-52,7
+52,7
@@
defmodule Pleroma.Web.Websub do
end
def sign(secret, doc) do
- :crypto.hmac(:sha, secret, to_string(doc)) |> Base.encode16
+ :crypto.hmac(:sha, secret, to_string(doc)) |> Base.encode16
|> String.downcase
end
def incoming_subscription_request(user, %{"hub.mode" => "subscribe"} = params) do