Skip to content

Commit

Permalink
fix: fix empty password when init admin
Browse files Browse the repository at this point in the history
  • Loading branch information
AprilNEA committed Dec 12, 2023
1 parent c30081d commit 65190a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/backend/src/modules/auth/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ export class AuthService {
role: Role.Admin,
email,
phone,
password: hashSync(password, SALT_ROUNDS),
},
});
}
Expand Down

0 comments on commit 65190a1

Please sign in to comment.