This forum is archived. Posts are preserved for historical reference. For current help, join us on Discord.

User login

In UserSpice 4.3 and Below · Started by eforbes on 2018-09-03 2:50 pm · 9232 views · 2 replies

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 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.