Michal Mroz Posted February 29, 2020 Posted February 29, 2020 I'm working on integrating my website with IPS as a master and it goes well. However, if a user log in on the website, he's always redirected to the forum's main page. I'd like to redirect him to the same page he was browsing before logged in. I know that login has this hidden field containing reference link: <input type="hidden" name="ref" value="' . base64_encode(\IPS\Request::i()->url()) . '"> But it seems not working. Same story with logging out. Any tips?
jesuralem Posted February 29, 2020 Posted February 29, 2020 The developer added the referrer option at my request on this plugin to achieve what you want : Although I disabled it because it didn't work with Facebook and Twitter login, also in some case users ended up redirected to the login page again although he just logged in.
bfarber Posted March 2, 2020 Posted March 2, 2020 We only redirect to links within the community to avoid opening up social engineering attack vectors. You would need a plugin to support ref values that will redirect the user outside of the community.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.