Fix potential private status leak (#10969)
This commit is contained in:
parent
1fee4b0fe2
commit
e80cb67ed7
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class StatusesController < ApplicationController
|
|||
def show
|
||||
respond_to do |format|
|
||||
format.html do
|
||||
unless user_signed_in?
|
||||
if current_account.nil?
|
||||
skip_session!
|
||||
expires_in 10.seconds, public: true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue