Code review
This commit is contained in:
parent
07b5c1f010
commit
7678f4a0cc
@ -35,7 +35,7 @@ public class MvcConfiguration extends WebSecurityConfigurerAdapter {
|
|||||||
.logout()
|
.logout()
|
||||||
.logoutUrl("/user/logout")
|
.logoutUrl("/user/logout")
|
||||||
.addLogoutHandler(logoutHandler)
|
.addLogoutHandler(logoutHandler)
|
||||||
.logoutSuccessHandler((new HttpStatusReturningLogoutSuccessHandler(HttpStatus.OK)))
|
.logoutSuccessHandler(new HttpStatusReturningLogoutSuccessHandler(HttpStatus.OK))
|
||||||
.permitAll()
|
.permitAll()
|
||||||
.and()
|
.and()
|
||||||
.csrf()
|
.csrf()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user