소스 검색

Fix Mastodon signature bug.

tags/v0.9.9
Roger Braun 7 년 전
부모
커밋
53d05af5b6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      lib/pleroma/web/websub/websub.ex

+ 1
- 1
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


불러오는 중...
취소
저장