High-Table-Consortium / fullstack-capstone-dockerized

0 stars 3 forks source link

Fixing user authentication on the frontend and server, #113

Closed Tumelo2748 closed 1 month ago

Tumelo2748 commented 1 month ago

Description

This pull request introduces several enhancements to the authentication system and alot more:

Key Changes

  1. frontend authentication:

    • Ensured that api request for authentication are handled well
    • Updated the authContext to manage the state of authentication for the user
  2. Password Visibility Toggle:

    • Added functionality to toggle password visibility in the form using icons from the lucide-react library.
    • This feature improves the user experience by allowing users to view their password while typing.
  3. Error Handling:

    • Enhanced error handling in the authentication middleware to ensure users receive clear feedback regarding authentication issues.

Code Changes

Checklist

Related Issues

-- #23