File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/ru/mystamps/web/support/spring/security Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -133,15 +133,15 @@ protected void configure(HttpSecurity http) throws Exception {
133
133
.hasAuthority (StringAuthority .IMPORT_SERIES_SALES )
134
134
.anyRequest ().permitAll ()
135
135
.and ()
136
- .formLogin ()
136
+ .formLogin (formLogin -> formLogin
137
137
.loginPage (AccountUrl .AUTHENTICATION_PAGE )
138
138
.usernameParameter ("login" )
139
139
.passwordParameter ("password" )
140
140
.loginProcessingUrl (AccountUrl .LOGIN_PAGE )
141
141
.failureUrl (AccountUrl .AUTHENTICATION_PAGE + "?failed" )
142
142
.defaultSuccessUrl (SiteUrl .INDEX_PAGE , true )
143
143
.permitAll ()
144
- . and ( )
144
+ )
145
145
.logout ()
146
146
.logoutUrl (AccountUrl .LOGOUT_PAGE )
147
147
.logoutSuccessUrl (SiteUrl .INDEX_PAGE )
You can’t perform that action at this time.
0 commit comments