|
@@ -39,10 +39,10 @@ class OttLoginConfig {
|
|
|
@Bean
|
|
@Bean
|
|
|
Customizer<HttpSecurity> ottLogin() {
|
|
Customizer<HttpSecurity> ottLogin() {
|
|
|
// @formatter:off
|
|
// @formatter:off
|
|
|
- return (http) -> http
|
|
|
|
|
- .authorizeHttpRequests((authz) -> authz.requestMatchers(PATH).permitAll())
|
|
|
|
|
- .oneTimeTokenLogin((ott) -> ott.loginPage(PATH));
|
|
|
|
|
- // @formatter:on
|
|
|
|
|
|
|
+ return (http) -> http
|
|
|
|
|
+ .authorizeHttpRequests((authz) -> authz.requestMatchers(PATH).permitAll())
|
|
|
|
|
+ .oneTimeTokenLogin((ott) -> ott.loginPage(PATH));
|
|
|
|
|
+ // @formatter:on
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-}
|
|
|
|
|
|
|
+}
|