The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
login page after logged in - 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: login page after logged in (/showthread.php?tid=114) |
login page after logged in - john - 04-01-2016 Nothing crucial but noticed if a user somehow got back to the login page after logged in, it loads the login form again. This should just redirect back to account.php (or whichever page developer want). Would a good fix be removing the two Code: $user = new User(); <pre> Code: $user = new User(); before the first if statement in login.php? |