feat(auth): enhance password change flow and error handling
- Return response from useProfileSetting hook after password change
This commit is contained in:
@@ -42,6 +42,7 @@ export function useProfileSetting() {
|
||||
password: oldPassword,
|
||||
new_password: newPassword,
|
||||
});
|
||||
return res;
|
||||
} catch (error) {
|
||||
throw error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user