Incorrect Old Password Shows Improper Error Message on Change Password Screen #196
@ -61,7 +61,7 @@ const ChangePasswordPage = ({ onClose }) => {
|
||||
onClose();
|
||||
} catch (error) {
|
||||
setLoading(false);
|
||||
showToast("Something went wrong", "error");
|
||||
showToast(error.response.data.message, "error");
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user