Browse Source

Fix Checkstyle

Josh Cummings 1 month ago
parent
commit
e690768709

+ 5 - 5
servlet/spring-boot/java/authentication/mfa/formLogin+ott/src/main/java/example/FormLoginConfig.java

@@ -39,10 +39,10 @@ class FormLoginConfig {
 	@Bean
 	Customizer<HttpSecurity> formLogin() {
 		// @formatter:off
-        return (http) -> http
-            .authorizeHttpRequests((authz) -> authz.requestMatchers(PATH).permitAll())
-            .formLogin((form) -> form.loginPage(PATH));
-        // @formatter:on
+		return (http) -> http
+			.authorizeHttpRequests((authz) -> authz.requestMatchers(PATH).permitAll())
+			.formLogin((form) -> form.loginPage(PATH));
+		// @formatter:on
 	}
 
-}
+}

+ 5 - 5
servlet/spring-boot/java/authentication/mfa/formLogin+ott/src/main/java/example/OttLoginConfig.java

@@ -39,10 +39,10 @@ class OttLoginConfig {
 	@Bean
 	Customizer<HttpSecurity> ottLogin() {
 		// @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
 	}
 
-}
+}