diff --git a/public/js/src/common/validation/user.js b/public/js/src/common/validation/user.js index 0e1d4c030..6a727da2e 100644 --- a/public/js/src/common/validation/user.js +++ b/public/js/src/common/validation/user.js @@ -51,7 +51,7 @@ export default () => { user?.firstName, user?.lastName, ...document.title.split(/[\s|]+/), - ]).score > 2; + ].filter(Boolean)).score > 2; }, compromised: helpers.withAsync(async function (value) { if (null === value || value.length < passwordMinLength) {