gearheads
/
mastodon
Archived
2
0
Fork 0

Fix potential private status leak (#10969)

gh/stable
ThibG 2019-06-05 13:40:20 +02:00 committed by Eugen Rochko
parent d34a3a2cc7
commit 7fa23ec697
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class StatusesController < ApplicationController
def show def show
respond_to do |format| respond_to do |format|
format.html do format.html do
unless user_signed_in? if current_account.nil?
skip_session! skip_session!
expires_in 10.seconds, public: true expires_in 10.seconds, public: true
end end