Skip to content

feat: enhance authentication flow and user redirection#183

Merged
danielalves96 merged 2 commits intomainfrom
next
Jul 30, 2025
Merged

feat: enhance authentication flow and user redirection#183
danielalves96 merged 2 commits intomainfrom
next

Conversation

@danielalves96
Copy link
Contributor

Enhance authentication flow and user redirection

- Updated the getCurrentUser method to return null for unauthorized access instead of error messages.
- Modified API documentation to reflect changes in the response structure for the current user endpoint.
- Introduced a RedirectHandler component to manage user redirection based on authentication status.
- Enhanced home and login pages to handle loading states and redirect users appropriately based on authentication.
- Improved the useHome hook to manage visibility of the home page based on user authentication status.
- Introduced translations for the QR code sharing modal in various languages including Arabic, German, Spanish, French, Hindi, Italian, Japanese, Korean, Dutch, Polish, Portuguese, Russian, Turkish, and Chinese.
- Removed duplicate QR code modal entries from the respective language files to maintain consistency.
@danielalves96 danielalves96 merged commit ce57cda into main Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments