Skip to content

Refactor authentication and session management#32

Merged
MIbnEKhalid merged 1 commit intoTestfrom
ibnekhalid
Apr 10, 2025
Merged

Refactor authentication and session management#32
MIbnEKhalid merged 1 commit intoTestfrom
ibnekhalid

Conversation

@MIbnEKhalid
Copy link
Copy Markdown
Owner

  • Updated package.json to replace "start" script with nodemon for development.
  • Modified logout.js to use the new API endpoint for logout.
  • Removed deprecated auth.js file and integrated authentication logic into main.js.
  • Cleaned up main.js by removing unnecessary imports and session management code, and replaced it with mbkauth package functions.
  • Deleted validateSessionAndRole.js as its functionality is now handled by mbkauth.
  • Updated login.handlebars to point to the new login API endpoint.

- Updated package.json to replace "start" script with nodemon for development.
- Modified logout.js to use the new API endpoint for logout.
- Removed deprecated auth.js file and integrated authentication logic into main.js.
- Cleaned up main.js by removing unnecessary imports and session management code, and replaced it with mbkauth package functions.
- Deleted validateSessionAndRole.js as its functionality is now handled by mbkauth.
- Updated login.handlebars to point to the new login API endpoint.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 10, 2025

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

Name Status Preview Comments Updated (UTC)
chat-api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2025 5:58pm

@MIbnEKhalid MIbnEKhalid merged commit ff10060 into Test Apr 10, 2025
2 checks passed
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