mirror of
https://github.com/yangzongzhuan/RuoYi.git
synced 2025-12-21 17:57:11 +00:00
新增CSRF防护功能
This commit is contained in:
@@ -149,3 +149,10 @@ xss:
|
||||
excludes: /system/notice/*
|
||||
# 匹配链接
|
||||
urlPatterns: /system/*,/monitor/*,/tool/*
|
||||
|
||||
# 防止csrf攻击
|
||||
csrf:
|
||||
# 过滤开关
|
||||
enabled: true
|
||||
# 白名单(多个用逗号分隔)
|
||||
whites:
|
||||
|
||||
Reference in New Issue
Block a user