File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed 
servlet/spring-boot/java/authentication/mfa/formLogin+ott/src/main/java/example Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ String auth() {
3939	@ Bean 
4040	Customizer <HttpSecurity > formLogin () {
4141		// @formatter:off 
42-          return  (http ) -> http 
43-              .authorizeHttpRequests ((authz ) -> authz .requestMatchers (PATH ).permitAll ())
44-              .formLogin ((form ) -> form .loginPage (PATH ));
45-          // @formatter:on 
42+ 		 return  (http ) -> http 
43+ 			 .authorizeHttpRequests ((authz ) -> authz .requestMatchers (PATH ).permitAll ())
44+ 			 .formLogin ((form ) -> form .loginPage (PATH ));
45+ 		 // @formatter:on 
4646	}
4747
48- }
48+ }
Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ String auth() {
3939	@ Bean 
4040	Customizer <HttpSecurity > ottLogin () {
4141		// @formatter:off 
42-          return  (http ) -> http 
43-              .authorizeHttpRequests ((authz ) -> authz .requestMatchers (PATH ).permitAll ())
44-              .oneTimeTokenLogin ((ott ) -> ott .loginPage (PATH ));
45-          // @formatter:on 
42+ 		 return  (http ) -> http 
43+ 			 .authorizeHttpRequests ((authz ) -> authz .requestMatchers (PATH ).permitAll ())
44+ 			 .oneTimeTokenLogin ((ott ) -> ott .loginPage (PATH ));
45+ 		 // @formatter:on 
4646	}
4747
48- }
48+ }
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments