Skip to content

Commit

Permalink
fix: set data
Browse files Browse the repository at this point in the history
  • Loading branch information
maranmaran committed May 3, 2024
1 parent d9c0308 commit a725de5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ public void onApplicationEvent(ContextRefreshedEvent event) {

private void seedDefaultSuperuser() {
UserInfoEntity userInfoEntity = new UserInfoEntity();
userInfoEntity.setName(defaultSuperuserName);
userInfoEntity.setEmail(defaultSuperuserEmail);
userInfoEntity.setPassword(defaultSuperuserPassword);

Map<String, String> userValidateResult = usersService.validateUserInfo(userInfoEntity);
if (userValidateResult.get("error") != null) {
Expand Down

0 comments on commit a725de5

Please sign in to comment.