feat: 👽 Support Versia Server 0.9 login system
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 0s
Deploy to GitHub Pages / build (push) Failing after 0s
Deploy to GitHub Pages / deploy (push) Has been skipped
Docker / build (push) Failing after 0s
Mirror to Codeberg / Mirror (push) Failing after 0s

This commit is contained in:
Jesse Wierzbinski 2025-11-21 12:16:00 +01:00
parent cc95f043bd
commit dc32f3b3ea
No known key found for this signature in database
21 changed files with 221 additions and 567 deletions

View file

@ -11,7 +11,7 @@
{{ errors.error }}
</AlertDescription>
</Alert>
<CardTitle as="h1" class="text-2xl break-words">{{ m.wide_topical_vole_walk() }}</CardTitle>
<CardTitle as="h1" class="text-2xl wrap-break-word">{{ m.wide_topical_vole_walk() }}</CardTitle>
</CardHeader>
<CardContent v-if="instance && tos" class="grid gap-6">
<FormField v-slot="{ componentField }" name="username">
@ -74,7 +74,7 @@
<Dialog>
{{ m.plane_quick_chipmunk_rush() }} <DialogTrigger :as-child="true"><Button variant="link"
class="px-0 underline">{{ m.glad_last_crow_dine() }}</Button>.</DialogTrigger>
<DialogContent class="!max-h-[90vh] overflow-auto">
<DialogContent class="max-h-[90vh]! overflow-auto">
<DialogHeader>
<DialogTitle>{{ instance.title }}
</DialogTitle>
@ -136,7 +136,7 @@ useHead({
const schema = toTypedSchema(
z
.object({
email: z.string().email(),
email: z.email(),
password: z.string().min(3).max(255),
"password-confirm": z.string().min(3).max(255),
username: z
@ -151,12 +151,11 @@ const schema = toTypedSchema(
.superRefine((data, ctx) => {
if (data.password !== data["password-confirm"]) {
ctx.addIssue({
path: [...ctx.path, "password-confirm"],
path: ["password-confirm"],
code: "custom",
message: m.candid_fancy_leopard_prosper(),
});
}
return {};
}),
);