Redirect to profile instead of losing this information after login process
Summary
Slightly related to #563 (closed)
Sister issue: #689 (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 profil url https://beta.foodsharing.de/profile/222584
- Logout
- Navigate to this previously saved url
What is the current bug behavior?
You get redirected to start page with browser url being https://beta.foodsharing.de/ instead of the profile page
What is the expected correct behavior?
- Being redirected to https://beta.foodsharing.de/?page=login&ref=%2F%3Fpage%3Dprofile%26id%3D222584 when not logged in
- forward to the above mentioned profile url successfully
Possible fixes
Look at MRs of issue #563 (closed) how it's solved there:
Edited by Johannes