优化csrf名称,防止nginx代理无法识别问题(IC5B9C)

This commit is contained in:
RuoYi
2025-05-12 11:47:26 +08:00
parent b03b9736f5
commit 2b8d00b756
7 changed files with 15 additions and 10 deletions

View File

@@ -33,10 +33,15 @@ public class ShiroConstants
public static final String ERROR = "errorMsg";
/**
* csrf key
* csrf meta content
*/
public static final String CSRF_TOKEN = "csrf_token";
/**
* csrf request header
*/
public static final String X_CSRF_TOKEN = "X-CSRF-Token";
/**
* 当前在线会话
*/