The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Go to referring Page after login
#7
So I do have a solution that I have coded for UserSpice 5. It is pretty simple, but requires changes in a couple of places. It is somewhat similar to what you're doing, but it does it for any secured page. If you try to access a secured page without being logged in, it sends you to login.php. After the login, it sends you to the secured page you tried to access.

If you would like this rolled into a patch, I can talk to @mudmin and see what he things (he is handling most of the 4.1.x and 4.2 stuff right now). I think at minimum it should be able to make it into 4.2.
  Reply


Messages In This Thread
Go to referring Page after login - by dreniam - 09-12-2016, 10:26 PM
Go to referring Page after login - by dreniam - 09-12-2016, 11:13 PM
Go to referring Page after login - by mudmin - 09-12-2016, 11:49 PM
Go to referring Page after login - by brian - 09-12-2016, 11:52 PM
Go to referring Page after login - by brian - 09-13-2016, 12:03 AM
Go to referring Page after login - by dreniam - 09-13-2016, 01:59 AM
Go to referring Page after login - by brian - 09-13-2016, 11:34 AM
Go to referring Page after login - by brian - 09-14-2016, 11:28 AM
Go to referring Page after login - by brian - 09-14-2016, 01:55 PM
Go to referring Page after login - by plb - 09-19-2016, 06:28 PM
Go to referring Page after login - by mudmin - 10-16-2016, 12:55 PM
Go to referring Page after login - by mudmin - 10-16-2016, 01:21 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)