Login Redirect to wrong page
I have many pages that can be opened after login. After once user logs in he is taken to dashboard.php from login page. But all of a sudden it redirects to wrong page which i don't want anytime anyone to be redirected to. Its a jquery based page(job-notification.php) which works on background for data retrieval on dashboard page(dashboard.php).. When i click logout & login using different id then it still takes me to job-notifcation.php.
But i crossed checked login.php page sucessredirect is dashboard.php
Is the jquery causing problem to this?
At login.php "successRedirect" => "latest/dashboard.php?loggedIn=1",
Its correct cause dashboard.php page is on folder called latest & also is job-notification in latest folder. (FYI)