Adding fix for issue in cloud with user password deletion causing undefined errors.
This commit is contained in:
parent
ba1c5abf43
commit
b26d0b6f21
|
@ -127,7 +127,7 @@ module.exports = (
|
|||
}
|
||||
if (!user && tenantId) {
|
||||
user = { tenantId }
|
||||
} else {
|
||||
} else if (user) {
|
||||
delete user.password
|
||||
}
|
||||
// be explicit
|
||||
|
|
Loading…
Reference in New Issue