ai-cfia / fertiscan-frontend

This repository is for the frontend of the project react
MIT License
2 stars 1 forks source link

As a user, I want to be directed to the main page after logging in #226

Closed nmeraihi closed 2 days ago

nmeraihi commented 1 month ago

Description

Context
When I attempt to log into the application with my credentials, the application shows a message indicating that I'm successfully logged in. However, instead of being redirected to the main page, I remain on the login page.

Problem Statement
Even though the login attempt is successful and I receive a "You are successfully registered" message, the application does not redirect me to the main page as expected. I remain on the login screen.

Acceptance Criteria

Additional Information image

The green message indicating successful registration can be seen in the attached image, yet there is no redirection to the main page.