mirror of
https://github.com/yangzongzhuan/RuoYi.git
synced 2025-10-15 01:58:29 +00:00
优化csrf名称,防止nginx代理无法识别问题(IC5B9C)
This commit is contained in:
@@ -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";
|
||||
|
||||
/**
|
||||
* 当前在线会话
|
||||
*/
|
||||
|
Reference in New Issue
Block a user