This commit is contained in:
Robert Schäfer 2019-07-16 21:00:47 +02:00
parent 99bfd56ea7
commit 95d26a701c

View File

@ -63,7 +63,7 @@ export default {
const newEncryptedPassword = await bcrypt.hashSync(newPassword, 10)
await currentUser.update({
encryptedPassword: newEncryptedPassword,
updatedAt: new Date().toISOString()
updatedAt: new Date().toISOString(),
})
return encode(await currentUser.toJson())