iamkanhaiyakumar / ai-content-generator

MIT License
7 stars 33 forks source link

Middleware Setup for User Authentication Redirection #61

Closed ShubhamKadam098 closed 1 month ago

ShubhamKadam098 commented 1 month ago

What does this PR do?

This PR sets up middleware to redirect unauthenticated users to the landing page, allowing only authenticated users access to the main app. This change improves user flow, enhances security, and addresses the issue raised in [Issue #59 ]. This implementation is based on feedback provided in Kanhaiya's comment on Issue #31.

Fixes #59

Video

https://github.com/user-attachments/assets/57b0a44c-a01c-434a-8d0b-7c3b2d317555

Type of change

How should this be tested?

Mandatory Tasks

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ai-content-generator ❌ Failed (Inspect) Oct 29, 2024 11:17am
github-actions[bot] commented 1 month ago

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

github-actions[bot] commented 1 month ago

🎉 Your pull request has been successfully merged! 🎉 Thank you for your contribution to our project. Your efforts are greatly appreciated. Keep up the fantastic work! 🚀

github-actions[bot] commented 1 month ago

🎉🎉 Thank you for your contribution! Your PR #61 has been merged! 🎉🎉