Redirect to food-share-point instead of losing this information after login process
Summary
Slightly related to #563 (closed)
Sister issue: #688 (closed)
Redirect to profile instead of losing this information after login process. This is important for our Android app since there is a button for it.
Steps to reproduce
- Login
- Copy a fsp url: https://beta.foodsharing.de/?page=fairteiler&sub=ft&bid=348&id=406
- Logout
- Navigate to this previously saved url
What is the current bug behavior?
You get redirected to dashboard with browser url being https://beta.foodsharing.de/?page=dashboard instead of the fsp page
What is the expected correct behavior?
- Being on https://beta.foodsharing.de/?page=fairteiler&sub=ft&bid=348&id=406 when logged in and when not logged in since fsp are publicly visible
- forward to the above mentioned fsp url successfully
Possible fixes
Look at MRs of issue #563 (closed) how it's solved there:
Edited by Jonathan Steinker