Skip to content

Commit

Permalink
adding credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayahhhmed committed Jun 15, 2024
1 parent ea0a616 commit bf89105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/sidebar/UserAccount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const UserAccount: React.FC<UserAccountProps> = ({ collapsed }) => {
setWindowLocation(window.location.href);
try {
const response = await fetch(`${API_URL.server}/auth/login`, {
// credentials: 'include',
credentials: 'include',
});
console.log(response);
} catch (error) {
Expand Down

0 comments on commit bf89105

Please sign in to comment.