diff --git a/front/src/components/forms/PasswordInput.vue b/front/src/components/forms/PasswordInput.vue index e0348a1db..c255f33a6 100644 --- a/front/src/components/forms/PasswordInput.vue +++ b/front/src/components/forms/PasswordInput.vue @@ -26,16 +26,12 @@ const props = withDefaults(defineProps(), { const value = useVModel(props, 'modelValue', emit) -const showPassword = ref(props.defaultShow) - const { t } = useI18n() const labels = computed(() => ({ title: t('components.forms.PasswordInput.title'), copy: t('components.forms.PasswordInput.button.copy') })) -const passwordInputType = computed(() => showPassword.value ? 'text' : 'password') - const store = useStore() const { isSupported: canCopy, copy } = useClipboard({ source: value }) const copyPassword = () => { @@ -49,28 +45,36 @@ const copyPassword = () => { + +