This commit is contained in:
Blake Blackshear 2024-05-13 08:19:06 -05:00
parent 8886ab94b6
commit d8904d1fa6
3 changed files with 4 additions and 11 deletions

View File

@ -116,13 +116,6 @@ class UIConfig(FrigateBaseModel):
)
class UserConfig(FrigateBaseModel):
user: str = Field(title="Username")
password_hash: str = Field(
title="Password hashed and salted using hashlib.pbkdf2_hmac"
)
class AuthConfig(FrigateBaseModel):
enabled: bool = Field(default=False, title="Enable authentication")
reset_admin_password: bool = Field(

View File

@ -3,11 +3,11 @@
import * as React from "react";
import { cn } from "@/lib/utils";
import { Input } from "./ui/input";
import { Button } from "./ui/button";
import ActivityIndicator from "./indicators/activity-indicator";
import { Input } from "@/components/ui/input";
import { Button } from "@/components/ui/button";
import ActivityIndicator from "@/components/indicators/activity-indicator";
import axios, { AxiosError } from "axios";
import { Toaster } from "./ui/sonner";
import { Toaster } from "@/components/ui/sonner";
import { toast } from "sonner";
import {
Form,