diff --git a/client/src/components/Login/PasswordStength.vue b/client/src/components/Login/PasswordStength.vue new file mode 100644 index 000000000000..28c6993a8ebc --- /dev/null +++ b/client/src/components/Login/PasswordStength.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/client/src/components/Login/RegisterForm.vue b/client/src/components/Login/RegisterForm.vue index d2237174c182..21c4273a8a1c 100644 --- a/client/src/components/Login/RegisterForm.vue +++ b/client/src/components/Login/RegisterForm.vue @@ -13,6 +13,7 @@ import { BFormGroup, BFormInput, BFormText, + BModal, } from "bootstrap-vue"; import { computed, type Ref, ref } from "vue"; @@ -22,6 +23,7 @@ import { withPrefix } from "@/utils/redirect"; import { errorMessageAsString } from "@/utils/simple-error"; import ExternalLogin from "@/components/User/ExternalIdentities/ExternalLogin.vue"; +import PasswordStrength from "@/components/Login/PasswordStength.vue"; interface Props { sessionCsrfToken: string; @@ -43,7 +45,7 @@ const emit = defineEmits<{ const email = ref(null); const confirm = ref(null); -const password = ref(null); +const password = ref(null); const username = ref(null); const subscribe = ref(null); const messageText: Ref = ref(null); @@ -145,7 +147,10 @@ async function submit() { name="password" type="password" autocomplete="new-password" - required /> + required + /> + + @@ -217,7 +222,10 @@ async function submit() { +