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
/printthread.php 16 require_once



UserSpice
Redirect from login to index.php - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Redirect from login to index.php (/showthread.php?tid=320)



Redirect from login to index.php - lastnerve - 10-24-2016

In the login.php script there is a redirect:

Code:
Redirect::to('account.php');

After logging in the user ends up on the account page so this works. However, I changed it to:

Code:
Redirect::to('index.php'); //this is in the root folder not in the users folder

but it still goes to account.php.

Is there another part of the US code that is causing the redirect to the account.php page?



Redirect from login to index.php - lastnerve - 10-24-2016

Nevermind, I found it in custom_login-script.php.