cosmetics: fixed admin skeleton, use password field on auth, use $console in auth middleware

This commit is contained in:
dswbx
2025-04-01 13:49:58 +02:00
parent 44b3f72005
commit e4608b7df7
5 changed files with 22 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ import { Form } from "json-schema-form-react";
import { transform } from "lodash-es";
import type { ComponentPropsWithoutRef } from "react";
import { Button } from "ui/components/buttons/Button";
import { Group, Input, Label } from "ui/components/form/Formy/components";
import { Group, Input, Password, Label } from "ui/components/form/Formy/components";
import { SocialLink } from "./SocialLink";
import type { ValueError } from "@sinclair/typebox/value";
import { type TSchema, Value } from "core/utils";
@@ -99,7 +99,7 @@ export function AuthForm({
</Group>
<Group>
<Label htmlFor="password">Password</Label>
<Input type="password" name="password" />
<Password name="password" />
</Group>
<Button