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.
This commit is contained in:
Reto Brunner 2023-05-23 08:24:20 +02:00
parent 8f08cf3d0b
commit 7a9ddc01e1

View File

@ -118,7 +118,7 @@ export default defineComponent({
const store = useStore(); const store = useStore();
const passwordErrors = { 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_mismatch: "Both new password fields must match",
password_incorrect: "The current password field does not match your account password", password_incorrect: "The current password field does not match your account password",
update_failed: "Failed to update your password", update_failed: "Failed to update your password",