Changeset 79a0317 for imaps-backend/backendRender/src/main/java/internettehnologii/imaps/backendRender/BackendRenderApplication.java
Legend:
- Unmodified
- Added
- Removed
-
imaps-backend/backendRender/src/main/java/internettehnologii/imaps/backendRender/BackendRenderApplication.java
r0c6b92a r79a0317 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.mail.javamail.JavaMailSender; 7 import org.springframework.mail.javamail.JavaMailSenderImpl; 8 import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; 9 import org.springframework.security.crypto.password.PasswordEncoder; 5 10 6 11 @SpringBootApplication … … 11 16 } 12 17 18 @Bean 19 public PasswordEncoder passwordEncoder(){ 20 return new BCryptPasswordEncoder(12); 21 } 22 13 23 }
Note:
See TracChangeset
for help on using the changeset viewer.