The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (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
Redirect After Login based on Username
#6
so you previous code worked kind of.
this is what I have

1. Redirect::to($us_url_root.$user->data()->id->admin. "101/index.php")   ;
2. Redirect::to($us_url_root.$user->data()->id->Steven."calendar/");

BUT
no matter what user I use to log in,  ether admin or Steven it takes me to 101/index.php , it doesn't recognize username and redirects to proper page.
Basically I want to redirect multiple use to their own homepages.
  Reply


Messages In This Thread
RE: Redirect After Login based on Username - by maxikz - 04-25-2019, 07:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)