diff --git a/web/src/components/overlay/CreateUserDialog.tsx b/web/src/components/overlay/CreateUserDialog.tsx index b73ba6b8f..b539bb849 100644 --- a/web/src/components/overlay/CreateUserDialog.tsx +++ b/web/src/components/overlay/CreateUserDialog.tsx @@ -36,7 +36,7 @@ import { useTranslation } from "react-i18next"; type CreateUserOverlayProps = { show: boolean; - onCreate: (user: string, password: string, role: "admin" | "viewer") => void; + onCreate: (user: string, password: string, role: string) => void; onCancel: () => void; };