Ignore:
Timestamp:
01/21/25 03:08:24 (3 days ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
0c6b92a
Message:

F4 Finalna Verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-backend/backendRender/src/main/java/internettehnologii/imaps/backendRender/BackendRenderApplication.java

    r0c6b92a r79a0317  
    33import org.springframework.boot.SpringApplication;
    44import org.springframework.boot.autoconfigure.SpringBootApplication;
     5import org.springframework.context.annotation.Bean;
     6import org.springframework.mail.javamail.JavaMailSender;
     7import org.springframework.mail.javamail.JavaMailSenderImpl;
     8import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
     9import org.springframework.security.crypto.password.PasswordEncoder;
    510
    611@SpringBootApplication
     
    1116        }
    1217
     18        @Bean
     19        public PasswordEncoder passwordEncoder(){
     20                return new BCryptPasswordEncoder(12);
     21        }
     22
    1323}
Note: See TracChangeset for help on using the changeset viewer.