Merge branch 'master' of https://github.com/metersphere/metersphere
This commit is contained in:
commit
75c4e672f6
|
@ -26,6 +26,7 @@ public class CsrfFilter extends AnonymousFilter {
|
||||||
|
|
||||||
if (!SecurityUtils.getSubject().isAuthenticated()) {
|
if (!SecurityUtils.getSubject().isAuthenticated()) {
|
||||||
((HttpServletResponse) response).setHeader("Authentication-Status", "invalid");
|
((HttpServletResponse) response).setHeader("Authentication-Status", "invalid");
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
// api 过来的请求
|
// api 过来的请求
|
||||||
if (ApiKeyHandler.isApiKeyCall(WebUtils.toHttp(request))) {
|
if (ApiKeyHandler.isApiKeyCall(WebUtils.toHttp(request))) {
|
||||||
|
|
Loading…
Reference in New Issue