I want the login page to be my landing page. If I copy the login.php file to the root and rename it index.php would that be safe or should I redirect to the login.php in the 'users' folder?
User login
I want the login page to be my landing page. If I copy the login.php file to the root and rename it index.php would that be safe or should I redirect to the login.php in the 'users' folder?
I think a redirect would be easier
if(!$user->isLoggedIn()){Redirect::to('users/login.php');}
[quote='eforbes' pid='6724' dateline='1535986227']
I want the login page to be my landing page. If I copy the login.php file to the root and rename it index.php would that be safe or should I redirect to the login.php in the 'users' folder?
I think a redirect would be easier
if(!$user->isLoggedIn()){Redirect::to('users/login.php');}
[/quote]
Thanks usamusa.