-
{{ t('hello') }}
+ {{ t('hello') }}
{{
t('layouts.refresh')
}}
@@ -68,9 +68,13 @@ watch(loggedIn, () => refresh());
- {{
- t('page.home.login_first')
- }}
+ {{ t('page.home.login_first') }}
diff --git a/app/pages/login.vue b/app/pages/login.vue
index e5b5978..2f93947 100644
--- a/app/pages/login.vue
+++ b/app/pages/login.vue
@@ -29,7 +29,9 @@ async function submit() {
method: 'POST',
body: form
});
+ form.password = '';
await fetch();
+ form.email = '';
await router.push(
localePath(
(route.query.to
@@ -124,7 +126,7 @@ async function submit() {
class="w-full text-center"
>{{ t(error) }}
-
+
{{
t('auth.login')
}}
diff --git a/app/pages/register.vue b/app/pages/register.vue
index 7352545..0e5af75 100644
--- a/app/pages/register.vue
+++ b/app/pages/register.vue
@@ -80,6 +80,7 @@ async function submit() {
validation.max(t('auth.name'), 64),
validation.min(t('auth.name'), 1)
]"
+ :messages="t('auth.name_help')"
required
>
@@ -118,6 +119,7 @@ async function submit() {
validation.required(t('auth.password')),
validation.min(t('auth.password'), 8)
]"
+ :messages="[t('auth.password_help'), t('auth.password_length')]"
autocomplete="current-password"
:minlength="8"
required
@@ -156,7 +158,7 @@ async function submit() {
>{{ t(error) }}
-
+
{{
t('auth.register')
}}
diff --git a/prisma/migrations/20250930221206_add_text_type/migration.sql b/prisma/migrations/20250930221206_add_text_type/migration.sql
new file mode 100644
index 0000000..f6ec5b0
--- /dev/null
+++ b/prisma/migrations/20250930221206_add_text_type/migration.sql
@@ -0,0 +1,6 @@
+-- AlterEnum
+ALTER TYPE "public"."TextType" ADD VALUE 'CHAR';
+
+-- AlterTable
+ALTER TABLE "public"."HuntQuest" ALTER COLUMN "description_de" SET DEFAULT '',
+ALTER COLUMN "description_en" SET DEFAULT '';
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index 3005303..d96a139 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -153,6 +153,7 @@ model TeamMember {
enum TextType {
TEXT
WORD
+ CHAR
NUMBER
INTEGER
}