Code review

This commit is contained in:
Kirill Vlasov 2020-04-18 08:00:52 +05:00
parent 07b5c1f010
commit 7678f4a0cc
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ public class MvcConfiguration extends WebSecurityConfigurerAdapter {
.logout()
.logoutUrl("/user/logout")
.addLogoutHandler(logoutHandler)
.logoutSuccessHandler((new HttpStatusReturningLogoutSuccessHandler(HttpStatus.OK)))
.logoutSuccessHandler(new HttpStatusReturningLogoutSuccessHandler(HttpStatus.OK))
.permitAll()
.and()
.csrf()