From 0c23714a792e75f471b4713ef4c55f3e2be7d5fb Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 8 Jan 2026 16:05:42 +0100 Subject: [PATCH] refactor(frontend): migrate auth views to FormField component Migrate Login, Register, RequestPasswordReset, and LinkSharingAuth views to use the new FormField component instead of manual field/control/input markup. --- .../src/views/sharing/LinkSharingAuth.vue | 22 ++--- frontend/src/views/user/Login.vue | 80 +++++++---------- frontend/src/views/user/Register.vue | 85 +++++++------------ .../src/views/user/RequestPasswordReset.vue | 29 +++---- 4 files changed, 78 insertions(+), 138 deletions(-) diff --git a/frontend/src/views/sharing/LinkSharingAuth.vue b/frontend/src/views/sharing/LinkSharingAuth.vue index 0813004e7..50793e99e 100644 --- a/frontend/src/views/sharing/LinkSharingAuth.vue +++ b/frontend/src/views/sharing/LinkSharingAuth.vue @@ -10,19 +10,14 @@

{{ $t('sharing.passwordRequired') }}

-
-
- -
-
+ -
- -
- -
-

- {{ $t('user.auth.usernameRequired') }} -

-
+
-
- -
- -
-
+ id="totpPasscode" + ref="totpPasscode" + v-focus + :label="$t('user.auth.totpTitle')" + autocomplete="one-time-code" + :placeholder="$t('user.auth.totpPlaceholder')" + required + type="text" + tabindex="3" + inputmode="numeric" + @keyup.enter="submit" + />