diff --git a/modules/core/src/main/resources/config/jeesite-core.yml b/modules/core/src/main/resources/config/jeesite-core.yml index 4cf27824..c752f420 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -510,7 +510,7 @@ shiro: #allowReferers: http://127.0.0.1,http://localhost # 允许重定向的地址,不设置为全部允许,设置this只允许本项目内部跳转,多个用逗号隔开,例如:this,http://*.jeesite.com - #allowRedirects: ~ + allowRedirects: this # 是否在登录后生成新的Session(默认false) isGenerateNewSessionAfterLogin: false diff --git a/web-api/src/main/resources/config/application.yml b/web-api/src/main/resources/config/application.yml index 390f0540..1397681f 100644 --- a/web-api/src/main/resources/config/application.yml +++ b/web-api/src/main/resources/config/application.yml @@ -693,7 +693,7 @@ shiro: # allowReferers: http://127.0.0.1,http://localhost # # # 允许重定向的地址,不设置为全部允许,设置this只允许本项目内部跳转,多个用逗号隔开,例如:this,http://*.jeesite.com -# allowRedirects: ~ +# allowRedirects: this # # # 是否在登录后生成新的Session(默认false) # isGenerateNewSessionAfterLogin: false diff --git a/web/src/main/resources/config/application.yml b/web/src/main/resources/config/application.yml index 597c86a0..1060eeed 100644 --- a/web/src/main/resources/config/application.yml +++ b/web/src/main/resources/config/application.yml @@ -693,7 +693,7 @@ shiro: # allowReferers: http://127.0.0.1,http://localhost # # # 允许重定向的地址,不设置为全部允许,设置this只允许本项目内部跳转,多个用逗号隔开,例如:this,http://*.jeesite.com -# allowRedirects: ~ +# allowRedirects: this # # # 是否在登录后生成新的Session(默认false) # isGenerateNewSessionAfterLogin: false