gdsc-jssstu / campUS-Web

A univeristy based community building app/website that enables students on campus to help each other and gain points, resulting in them being more recognized
BSD 2-Clause "Simplified" License
5 stars 8 forks source link

Login.jsx: Implement Login functionality using Firebase Authentication #12

Closed sumit-kumar-jha1709 closed 11 months ago

sumit-kumar-jha1709 commented 11 months ago

Motivation

Login.jsx: Implement Login functionality using Firebase Authentication

Changes

  1. Implemented the Login.jsx as per the given figma design.
  2. Implemented signInWithEmailAndPassword functionality in firebase
  3. Taken care of error handling on the time of signIn
  4. Implemented Toast from react-hot-toast ReactJS library to show the signInerror.

Successful Login

loginSuccessful

When account is disabled

Disable User

When user is invalid

Invalid User

sikehish commented 11 months ago

Great stuff!