mirror of https://github.com/mastodon/mastodon
Allow retrieval of private statuses (single or in outbox) using HTTP signatures (#6225)
parent
04fef7b888
commit
8e4cf6282b
@ -0,0 +1,11 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
module SignatureAuthentication
|
||||||
|
extend ActiveSupport::Concern
|
||||||
|
|
||||||
|
include SignatureVerification
|
||||||
|
|
||||||
|
def current_account
|
||||||
|
super || signed_request_account
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue