mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-15 19:42:08 +03:00
don't limit roles in create user dialog
This commit is contained in:
parent
f520d4b8dd
commit
f50c4f712c
@ -36,7 +36,7 @@ import { useTranslation } from "react-i18next";
|
|||||||
|
|
||||||
type CreateUserOverlayProps = {
|
type CreateUserOverlayProps = {
|
||||||
show: boolean;
|
show: boolean;
|
||||||
onCreate: (user: string, password: string, role: "admin" | "viewer") => void;
|
onCreate: (user: string, password: string, role: string) => void;
|
||||||
onCancel: () => void;
|
onCancel: () => void;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user