Skip to content
代码片段 群组 项目
提交 909295c8 编辑于 作者: Peter Leitzen's avatar Peter Leitzen
浏览文件

Merge branch 'issue_342492_application_controller' into 'master'

Pass formats explicitly when rendering .html file

See merge request gitlab-org/gitlab!76011
No related branches found
No related tags found
无相关合并请求
......@@ -26,6 +26,9 @@ def negotiate
# when the browser has given up.
#
headers['Www-Authenticate'] = spnego_challenge
render 'errors/kerberos_denied.html.haml', layout: 'errors', status: :unauthorized
render template: 'errors/kerberos_denied',
formats: :html,
locals: { layout: 'errors' },
status: :unauthorized
end
end
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册