Users reported that they would like to be logged in automatically after they register, instead of being redirected to the login page and asked to log in again. This pull request fixes this issue by modifying the behavior of the registration process. After successful registration, the user will now be automatically logged in. The changes include updates to the App.tsx and Register.tsx files.
Issues # (issue-id)
Closes #146
Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description
Users reported that they would like to be logged in automatically after they register, instead of being redirected to the login page and asked to log in again. This pull request fixes this issue by modifying the behavior of the registration process. After successful registration, the user will now be automatically logged in. The changes include updates to the
App.tsx
andRegister.tsx
files.Issues # (issue-id)
Closes #146
Type of change
Checklist