From ae33df38e49515f7207c3923b74d25dcefb9969e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Glasn=C3=A1k?= Date: Thu, 19 Jan 2023 12:14:48 +0100 Subject: [PATCH] [Auth] Changed min length of password to 12 as specified in tech spec --- .../plugins/lib@auth/login/_components/a-login-form.vue | 4 ++-- .../reset-password/_components/a-reset-password-form.vue | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/plugins/lib@auth/login/_components/a-login-form.vue b/app/src/plugins/lib@auth/login/_components/a-login-form.vue index bc112a6..68e341f 100644 --- a/app/src/plugins/lib@auth/login/_components/a-login-form.vue +++ b/app/src/plugins/lib@auth/login/_components/a-login-form.vue @@ -2,7 +2,7 @@ -
@@ -31,7 +31,7 @@ export default { return { form: { email: {required, email }, - password: {required, minLength: minLength(8)} + password: {required, minLength: minLength(12)} } } }, diff --git a/app/src/plugins/lib@auth/reset-password/_components/a-reset-password-form.vue b/app/src/plugins/lib@auth/reset-password/_components/a-reset-password-form.vue index fa0cb4e..5425445 100644 --- a/app/src/plugins/lib@auth/reset-password/_components/a-reset-password-form.vue +++ b/app/src/plugins/lib@auth/reset-password/_components/a-reset-password-form.vue @@ -4,9 +4,9 @@ - + - +
ZmeniƄ heslo @@ -35,8 +35,8 @@ export default { form: { code: { required, integer, minLength: minLength(6), maxLength: maxLength(6) }, email: { required, email }, - password: { required, minLength: minLength(8) }, - password_confirmation: { required, minLength: minLength(8), sameAs: sameAs(this.form.password)} + password: { required, minLength: minLength(12) }, + password_confirmation: { required, minLength: minLength(12), sameAs: sameAs(this.form.password)} } } },