Skip to content

Commit 4a844e3

Browse files
committed
📝 编写文档
1 parent 9a4feb2 commit 4a844e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configuration-demo/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class SecureConfig {
1111
@Bean
1212
public SecureRuleRegistry secureRuleRegistry() {
1313
return new SecureRuleRegistry()
14-
.addRule("/login", HttpMethod.GET, "anon()")
14+
.exclude("/login")
1515
.addRule("/me", HttpMethod.GET,"hasLogin()")
1616
.addRule("/**", HttpMethod.ANY, "@test.hasPermission(#request,#response)");
1717
}

0 commit comments

Comments
 (0)