From 98f16854c899637b18bb8e7b1da5b0ba4a1df69a Mon Sep 17 00:00:00 2001 From: csr4422 Date: Fri, 26 Sep 2025 16:50:43 +0530 Subject: [PATCH] Add password toggle to login page --- frontend/src/views/auth/UserLoginView.vue | 36 +++++++++++++++-------- 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/frontend/src/views/auth/UserLoginView.vue b/frontend/src/views/auth/UserLoginView.vue index e58bb77..52bc4bb 100644 --- a/frontend/src/views/auth/UserLoginView.vue +++ b/frontend/src/views/auth/UserLoginView.vue @@ -59,18 +59,28 @@
- - + +
+ + +
@@ -126,6 +136,7 @@ import { useI18n } from 'vue-i18n' import { EMITTER_EVENTS } from '@/constants/emitterEvents.js' import { useAppSettingsStore } from '@/stores/appSettings' import AuthLayout from '@/layouts/auth/AuthLayout.vue' +import { Eye, EyeOff } from 'lucide-vue-next' const emitter = useEmitter() const { t } = useI18n() @@ -134,6 +145,7 @@ const isLoading = ref(false) const router = useRouter() const userStore = useUserStore() const shakeCard = ref(false) +const showPassword = ref(false) const loginForm = ref({ email: '', password: ''