diff --git a/apps/central/src/components/account/claim.vue b/apps/central/src/components/account/claim.vue
index 2a2ba9525..1abd53f3d 100644
--- a/apps/central/src/components/account/claim.vue
+++ b/apps/central/src/components/account/claim.vue
@@ -16,9 +16,8 @@ except according to the terms contained in the LICENSE file.
-
+
{{ $t('action.set') }}
@@ -29,6 +28,7 @@ except according to the terms contained in the LICENSE file.
-
-
diff --git a/apps/central/src/components/new-password-form-group.vue b/apps/central/src/components/new-password-form-group.vue
new file mode 100644
index 000000000..75e83e469
--- /dev/null
+++ b/apps/central/src/components/new-password-form-group.vue
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
diff --git a/apps/central/src/components/password-strength.vue b/apps/central/src/components/password-strength.vue
index d6c3dfd7d..9806fc6fa 100644
--- a/apps/central/src/components/password-strength.vue
+++ b/apps/central/src/components/password-strength.vue
@@ -23,21 +23,11 @@ https://github.com/apertureless/vue-password-strength-meter -->
import { computed } from 'vue';
const props = defineProps({
- password: {
- type: String,
+ score: {
+ type: Number,
required: true
}
});
-
-const score = computed(() => {
- const { length } = props.password;
- if (length === 0) return 0;
- if (length < 8) return 1;
- if (length < 10) return 2;
- if (length < 12) return 3;
- if (length < 14) return 4;
- return 5;
-});