ExamTime icon indicating copy to clipboard operation
ExamTime copied to clipboard

Fixed issue No #4 (Unable to see error messages during login process on ExamTime website)

Open dhruv389 opened this issue 1 year ago • 7 comments


Description: This pull request addresses the issue with the login page not displaying the correct error message when invalid credentials are entered. Currently, the console log shows "Unknown" for this error, while other errors are properly handled and displayed using the Toastify library on the screen.

Changes Made:

Updated the login functionality to handle the "Unknown" error specifically for invalid credentials. Modified the code to display the appropriate error message using the Toastify library when invalid credentials are entered.

Testing:

Tested the login page with various invalid credential scenarios to ensure the correct error message is displayed. Verified that the console log no longer shows "Unknown" for invalid credential errors.

closes Issue no : #4

dhruv389 avatar May 10 '24 04:05 dhruv389

@dhruv389 is attempting to deploy a commit to the swapnilsingh99's projects Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar May 10 '24 04:05 vercel[bot]

Deploy Preview for exam-time ready!

Name Link
Latest commit bf6b8a7c8a80c20d2677eea299e0a779c6a9a4b1
Latest deploy log https://app.netlify.com/sites/exam-time/deploys/663da23ba76bd60008d7da48
Deploy Preview https://deploy-preview-19--exam-time.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar May 10 '24 04:05 netlify[bot]

Hello @hereisSwapnil,

Apologies for the delay. I've resolved the issue by handling the "Unknown" error, which was previously unaddressed in the main code.

Thank you for your patience.

dhruv389 avatar May 10 '24 04:05 dhruv389

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

Name Status Preview Comments Updated (UTC)
exam-time ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 11, 2024 1:57pm

vercel[bot] avatar May 11 '24 13:05 vercel[bot]

image

No error message is popped when I put the wrong credentials

hereisSwapnil avatar May 11 '24 14:05 hereisSwapnil

can you provide to me all values of .env variables of Server side and Client side also , without it i am not able to check. This is my email_id : [email protected] , please send on it.

dhruv389 avatar May 11 '24 16:05 dhruv389

can you provide to me all values of .env variables of Server side and Client side also , without it i am not able to check. This is my email_id : [email protected] , please send on it.

Please check .env.dev for keys and credentials

hereisSwapnil avatar May 11 '24 16:05 hereisSwapnil