File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/io/github/Hattinger04/configuration Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1818
1919@ Component
2020@ PropertySource ("classpath:settings.properties" )
21- public class AdminUserCreator implements CommandLineRunner {
21+ public class OnStartCreate implements CommandLineRunner {
2222
2323 private final UserRepository userRepository ;
2424 private final RoleRepository roleRepository ;
@@ -33,7 +33,7 @@ public class AdminUserCreator implements CommandLineRunner {
3333 private String database ;
3434
3535 @ Autowired
36- public AdminUserCreator (UserRepository userRepository , CustomPasswordEncoder passwordEncoder ,
36+ public OnStartCreate (UserRepository userRepository , CustomPasswordEncoder passwordEncoder ,
3737 RoleRepository roleRepository , EntityManager entityManager ) {
3838 this .userRepository = userRepository ;
3939 this .passwordEncoder = passwordEncoder ;
You can’t perform that action at this time.
0 commit comments