Revize afdd306f
Přidáno uživatelem Jakub Šmíd před asi 2 roky(ů)
backend/src/main/java/cz/zcu/kiv/backendapi/config/DataInitiator.java | ||
---|---|---|
66 | 66 |
UserEntity user2 = new UserEntity("normal", "normal", encoder.encode("password"), (byte) 1, false); |
67 | 67 |
userRepository.save(user2); |
68 | 68 |
|
69 |
UserEntity superAmin = new UserEntity("SuperAdmin", "admin@admin.com", "$2a$10$WN7iAmrlUZiHMShI85.ScOyBbGXMMondhh.7x/WopeQ8YIMVyA8O2", (byte) 7, true); |
|
70 |
userRepository.save(superAmin); |
|
71 |
|
|
69 | 72 |
} |
70 | 73 |
|
71 | 74 |
private List<CatalogItem> loadCatalog() { |
Také k dispozici: Unified diff
Added Super Admin user
re #9790