|
|
@ -33,9 +33,11 @@ public class AdminLoginFilter implements Filter { |
|
|
|
try { |
|
|
|
HttpServletRequest httpRequest = (HttpServletRequest) request; |
|
|
|
String token = ""; |
|
|
|
for (Cookie c : httpRequest.getCookies()) { |
|
|
|
if (c.getName().equals("MatrixToken")) { |
|
|
|
token = c.getValue(); |
|
|
|
if(httpRequest.getCookies() != null) { |
|
|
|
for (Cookie c : httpRequest.getCookies()) { |
|
|
|
if (c.getName().equals("MatrixToken")) { |
|
|
|
token = c.getValue(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
List<String> openApi = List.of( |
|
|
|