diff --git a/src/commands/force/user/create.ts b/src/commands/force/user/create.ts index c307f8e5..62db90b6 100644 --- a/src/commands/force/user/create.ts +++ b/src/commands/force/user/create.ts @@ -45,7 +45,7 @@ const permsetsStringToArray = (fieldsPermsets: string | string[]): string[] => { }; const standardizePasswordToBoolean = (input: unknown): boolean => { - if (typeof input === 'undefined') { + if (typeof input === 'undefined' || input === null) { return false; } if (typeof input === 'boolean') {