11-13-2017, 01:01 AM
Login as admin and then I visit from my address bar to login.php and redirection does not occur.
<pre></pre>
<pre>
Code:
if(isset($user) && $user->isLoggedIn()){
Redirect::to('yourpage.php');
}