Skip to content
代码片段 群组 项目
提交 bcbf3501 编辑于 作者: Siddharth Asthana's avatar Siddharth Asthana
浏览文件

Pass formats explicitly when rendering kerberos error

Changelog: other
EE: true
上级 10271db1
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.
先完成此消息的编辑!
想要评论请 注册