From 1bab55722497a57a18da48065dee0d30480d589e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20S=C3=BC=C3=9Fenguth?= Date: Fri, 30 Apr 2021 18:56:34 +0200 Subject: [PATCH] Extended the explanations in the text, added some more details regarding the password quality --- src/SetPassword.vue | 56 ++++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 26 deletions(-) diff --git a/src/SetPassword.vue b/src/SetPassword.vue index db1bbc2..430cccc 100644 --- a/src/SetPassword.vue +++ b/src/SetPassword.vue @@ -1,9 +1,10 @@ @@ -133,9 +137,9 @@ computed: { setButtonTitle: function () { if (this.qualityScore < 4) { - return 'The password strength is too low to be accepted'; + return 'The password quality is too low'; } else if (this.password1 !== this.password2) { - return "The two provided passwords don't match"; + return "The two passwords do not match"; } else { return null; } @@ -181,7 +185,7 @@ }, (error) => { let containsResponse = typeof error.response !== 'undefined'; this.setRequestError = containsResponse && error.response.status === 400 - ? "Insufficient password strength!" + ? "Insufficient password quality!" : error.message; }) .finally(() => {