forked from noxious/server
Bug fix for reset password
This commit is contained in:
@ -143,7 +143,7 @@ class UserService {
|
||||
}
|
||||
|
||||
const hashedPassword = await bcrypt.hash(password, 10)
|
||||
prisma.user.update({
|
||||
await prisma.user.update({
|
||||
where: { id: tokenData.userId },
|
||||
data: {
|
||||
password: hashedPassword
|
||||
|
Reference in New Issue
Block a user