- Timestamp:
- 01/04/23 02:49:26 (23 months ago)
- Branches:
- main
- Children:
- ab952ab
- Parents:
- 6832924
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/AutoPartzApplication.java
r6832924 rae042f4 3 3 import org.springframework.boot.SpringApplication; 4 4 import org.springframework.boot.autoconfigure.SpringBootApplication; 5 import org.springframework.context.annotation.Bean; 6 import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; 7 import org.springframework.security.crypto.password.PasswordEncoder; 5 8 6 9 @SpringBootApplication … … 10 13 SpringApplication.run(AutoPartzApplication.class, args); 11 14 } 15 @Bean 16 PasswordEncoder passwordEncoder() { 17 return new BCryptPasswordEncoder(10); 18 } 19 12 20 13 21 }
Note:
See TracChangeset
for help on using the changeset viewer.