fix setup
This commit is contained in:
parent
3fffe798cd
commit
0842b1dfb8
@ -96,6 +96,7 @@ public class UserManager implements UserDetailsService, SmartInitializingSinglet
|
|||||||
admin.setUsername("admin");
|
admin.setUsername("admin");
|
||||||
admin.setRoles(Lists.newArrayList("ROLE_ADMIN"));
|
admin.setRoles(Lists.newArrayList("ROLE_ADMIN"));
|
||||||
admin.setPasswordHash(passwordEncoder.encode(adminPassword));
|
admin.setPasswordHash(passwordEncoder.encode(adminPassword));
|
||||||
|
admin.setLocale("en");
|
||||||
localUserRepository.save(admin);
|
localUserRepository.save(admin);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user