From 03b24ce3208bc44a2f776f0eebb8a19192d73e4f Mon Sep 17 00:00:00 2001 From: Hyko Date: Sat, 25 Apr 2026 09:06:16 -0400 Subject: [PATCH] fix(auth): remove redundant truthy check in hasPassword condition --- src/features/auth/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/auth/api.js b/src/features/auth/api.js index 2372296..67f90b6 100644 --- a/src/features/auth/api.js +++ b/src/features/auth/api.js @@ -837,7 +837,7 @@ async function handleAdminCreateUser(request) { } const userId = generateId(); - const hasPassword = password && typeof password === 'string' && password.length > 0; + const hasPassword = typeof password === 'string' && password.length > 0; const user = await create('zen_auth_users', { id: userId,