Incorrect Old Password Shows Improper Error Message on Change Password Screen

This commit is contained in:
Umesh Desai 2025-06-09 17:53:17 +05:30
parent 69a907860b
commit e079be39db

View File

@ -61,7 +61,7 @@ const ChangePasswordPage = ({ onClose }) => {
onClose();
} catch (error) {
setLoading(false);
showToast("Something went wrong", "error");
showToast(error.response.data.message, "error");
}
};