diff --git a/apps/dashboard/src/components/FormSection.vue b/apps/dashboard/src/components/FormSection.vue
new file mode 100644
index 00000000..4366efa2
--- /dev/null
+++ b/apps/dashboard/src/components/FormSection.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
diff --git a/apps/dashboard/src/modules/user/components/UserSettingsComponent.vue b/apps/dashboard/src/modules/user/components/UserSettingsComponent.vue
index 8dd3d54b..e442344e 100644
--- a/apps/dashboard/src/modules/user/components/UserSettingsComponent.vue
+++ b/apps/dashboard/src/modules/user/components/UserSettingsComponent.vue
@@ -5,15 +5,18 @@
:action="undefined"
class="w-5"
>
+
-
{{ t('userSettings.changeCredentials') }}
-
-
{{ t('userSettings.changePin') }}
-
-
+
+
+
{{ t('userSettings.changePassword') }}
-
+
@@ -67,6 +69,7 @@ import ChangePinForm from "@/modules/user/components/forms/ChangePinForm.vue";
import FormDialog from "@/components/FormDialog.vue";
import { editPinSchema } from "@/utils/validation-schema";
import { schemaToForm } from "@/utils/formUtils";
+import FormSection from "@/components/FormSection.vue";
defineProps({
user: {
@@ -78,6 +81,9 @@ defineProps({
const { t } = useI18n();
const showPinDialog = ref(false);
const pinForm = schemaToForm(editPinSchema);
+const editPin = ref(true);
+
+
diff --git a/apps/dashboard/src/modules/user/components/forms/ChangePinForm.vue b/apps/dashboard/src/modules/user/components/forms/ChangePinForm.vue
index f82c994c..e358325b 100644
--- a/apps/dashboard/src/modules/user/components/forms/ChangePinForm.vue
+++ b/apps/dashboard/src/modules/user/components/forms/ChangePinForm.vue
@@ -5,13 +5,17 @@
:attributes="form.model.pin.attr.value"
@update:value="form.context.setFieldValue('pin', $event)"
:errors="form.context.errors.value.pin"
- id="pin" type="pin"/>
+ id="pin" type="pin"
+ :disabled="!edit"
+ />
+ id="pinConfirm" type="pin"
+ :disabled="!edit"
+ />
@@ -32,6 +36,11 @@ const props = defineProps({
type: Object as PropType