Issue Details
When users log in to the application, the application stores the current logged-in user data. However, when they log in with their Email ID instead of username and perform an action which requires the current logged-in user data, the data return null and we can't perform those actions. This is a major issue as those who logged-in with Email ID can perform almost nothing.
When user data becomes null:
- The application becomes almost unusable for users logging in with their Email ID.
- Users cannot create, update, or delete projects, Follow & Follow users, Fork projects and other actions.
- Any action requiring user data (e.g., checking permissions, fetching user-specific details) fails with a 404 error.
I have fixed the issue : PR #94