We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8314df commit 80bc009Copy full SHA for 80bc009
app/controllers/videos_controller.rb
@@ -41,7 +41,11 @@ def show
41
response.headers["Expires"] = "Fri, 01 Jan 1990 00:00:00 GMT"
42
43
respond_to do |format|
44
- format.html { render }
+ format.html do
45
+ # HACK: Force reauthentication since the page does XHR
46
+ sss.force_authenticate() if sss
47
+ render
48
+ end
49
format.json { render json: @manifest }
50
end
51
0 commit comments