mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 05:35:25 +03:00
cleanup
This commit is contained in:
parent
8886ab94b6
commit
d8904d1fa6
@ -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(
|
||||
|
||||
@ -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,
|
||||
Loading…
Reference in New Issue
Block a user