Skip to content
Snippets Groups Projects
Commit 7fa23ec6 authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

Fix potential private status leak (#10969)

parent d34a3a2c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment