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