Last change
on this file since dfd5d87 was dfd5d87, checked in by Marko <Marko@…>, 23 months ago |
Registration logic with confirmation token implemented
|
-
Property mode
set to
100644
|
File size:
398 bytes
|
Rev | Line | |
---|
[dfd5d87] | 1 | package finki.it.phoneluxbackend.security;
|
---|
| 2 |
|
---|
| 3 | import org.springframework.context.annotation.Bean;
|
---|
| 4 | import org.springframework.context.annotation.Configuration;
|
---|
| 5 | import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
|
---|
| 6 |
|
---|
| 7 | @Configuration
|
---|
| 8 | public class PasswordEncoder {
|
---|
| 9 |
|
---|
| 10 | @Bean
|
---|
| 11 | public BCryptPasswordEncoder bCryptPasswordEncoder(){
|
---|
| 12 | return new BCryptPasswordEncoder();
|
---|
| 13 | }
|
---|
| 14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.