Skip to content

Commit

Permalink
chore: test remove hash
Browse files Browse the repository at this point in the history
  • Loading branch information
k1g99 committed May 20, 2024
1 parent 200b292 commit c7ba605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/backend/apps/client/src/user/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,13 @@ export class UserService {
*
*/
async initializeUser(signUpDto: SignUpDto): Promise<User> {
const encryptedPassword = await hash(signUpDto.password)
// const encryptedPassword = await hash(signUpDto.password)

return await this.prisma.$transaction(async (tx) => {
const user = await tx.user.create({
data: {
username: signUpDto.username,
password: encryptedPassword,
password: signUpDto.password,
email: signUpDto.email
}
})
Expand Down

0 comments on commit c7ba605

Please sign in to comment.