From 7a9ddc01e1819da8d28860548a82736f35283ab0 Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Tue, 23 May 2023 08:24:20 +0200 Subject: [PATCH] settings: make missing_field msg descriptive The "missing_fields" error triggers on any missing field (duh). "Please enter a new password" is not a sensible string for that. --- client/components/Settings/Account.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/Settings/Account.vue b/client/components/Settings/Account.vue index 1d465337..07f836ef 100644 --- a/client/components/Settings/Account.vue +++ b/client/components/Settings/Account.vue @@ -118,7 +118,7 @@ export default defineComponent({ const store = useStore(); const passwordErrors = { - missing_fields: "Please enter a new password", + missing_fields: "Please fill in all fields", password_mismatch: "Both new password fields must match", password_incorrect: "The current password field does not match your account password", update_failed: "Failed to update your password",