Skip to content
Snippets Groups Projects
Commit a32c5444 authored by Yan0305's avatar Yan0305
Browse files

11

parent cf6e0c88
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,7 @@ body{
margin: 20px 0;
}
.social-icon a i{
color: red;
color: black;
font-size: 24px;
margin-left: 10px;
cursor: pointer;
......
......@@ -14,7 +14,7 @@ public class NurseTestSecurityConfig {
.requestMatchers("/nurse/**").hasRole("HOSPITAL")
.anyRequest().denyAll()
)
.csrf(csrf -> csrf.disable()); // 新版禁用CSRF的写法
.csrf(csrf -> csrf.disable());
return http.build();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment