diff --git a/src/app/assistants/[id]/settings/page.tsx b/src/app/assistants/[id]/settings/page.tsx index e106661..d62072c 100644 --- a/src/app/assistants/[id]/settings/page.tsx +++ b/src/app/assistants/[id]/settings/page.tsx @@ -22,7 +22,7 @@ export default function Settings() { ); const [authenticationRequired, setAuthenticationRequired] = useState( - assistant.authenticatedUsersOnly ? assistant.authenticatedUsersOnly : true + assistant.authenticatedUsersOnly !== undefined ? assistant.authenticatedUsersOnly : true ); const { push } = useRouter();