tunapanda/wikonnect

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

Opened this issue · 0 comments

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:

  • Operating System: Linux x84
  • NodeJS Version:
  • Ember Version:

Screenshots where applicable