tunapanda / wikonnect

Wikonnect seeks to bridge the digital divide through the provision of digital literacy skills. Management support through Asha (www.asha.io).
https://app.wikonnect.org
MIT License
31 stars 51 forks source link

[BUG] After login, user should be redirected to previously viewed page #815

Open brianmarete opened 3 years ago

brianmarete commented 3 years ago

Describe the bug:

If a user logs in, they are redirected back to the main /learn page instead of the previous page they were viewing.

Expected Behavior

User should be redirected to the page they were viewing after login, so that they don't loose context.

Current Behaviour

If a user logs in, they are redirected back to the main /learn page instead of the previous page they were viewing.

Steps to reproduce

  1. Navigate to a chapter without logging in
  2. Login
  3. You'll be redirected to the home page

Error Log / Stack Trace (where applicable)

Tell us about your browser and operating system:

Screenshots where applicable