1
0
Fork 0
mirror of synced 2024-07-04 14:01:27 +12:00

Adding fix for issue in cloud with user password deletion causing undefined errors.

This commit is contained in:
mike12345567 2022-07-27 17:15:01 +01:00
parent 5945a432e7
commit d42f3c3385

View file

@ -127,7 +127,7 @@ module.exports = (
}
if (!user && tenantId) {
user = { tenantId }
} else {
} else if (user) {
delete user.password
}
// be explicit