We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64c428f commit 2731173Copy full SHA for 2731173
src/main/java/ru/mystamps/web/support/spring/security/SecurityConfig.java
@@ -142,12 +142,12 @@ protected void configure(HttpSecurity http) throws Exception {
142
.defaultSuccessUrl(SiteUrl.INDEX_PAGE, true)
143
.permitAll()
144
)
145
- .logout()
+ .logout(logout -> logout
146
.logoutUrl(AccountUrl.LOGOUT_PAGE)
147
.logoutSuccessUrl(SiteUrl.INDEX_PAGE)
148
.invalidateHttpSession(true)
149
150
- .and()
+ )
151
.exceptionHandling()
152
.accessDeniedHandler(getAccessDeniedHandler())
153
// This entry point handles when you request a protected page and you are
0 commit comments