diff --git a/packages/nc-gui-v2/components/tabs/auth/user-management/UsersModal.vue b/packages/nc-gui-v2/components/tabs/auth/user-management/UsersModal.vue index 58ff8dd93d..854b3f617a 100644 --- a/packages/nc-gui-v2/components/tabs/auth/user-management/UsersModal.vue +++ b/packages/nc-gui-v2/components/tabs/auth/user-management/UsersModal.vue @@ -41,7 +41,7 @@ const validators = computed(() => { emails: [ { validator: (rule: any, value: string, callback: (errMsg?: string) => void) => { - if (value.length === 0) { + if (!value || value.length === 0) { callback('Email is required') return }