12-26-2016, 07:47 AM
vi custom_login_script.php
---
<?php
//Whatever you put here will happen after the username and password are verified and the user is "technically" logged in, but they have not yet been redirected to their starting page. This gives you access to all the user's data through $user->data()
//Where do you want to redirect the user after login
//note that this path is relative from the userc/scripts folder, hence the ../../
Redirect::to('../../users/account.php');
?>
There is no .htaccess file in / or in /users although there is one in /usersc but all it has is "options -indexes" in it.
---
<?php
//Whatever you put here will happen after the username and password are verified and the user is "technically" logged in, but they have not yet been redirected to their starting page. This gives you access to all the user's data through $user->data()
//Where do you want to redirect the user after login
//note that this path is relative from the userc/scripts folder, hence the ../../
Redirect::to('../../users/account.php');
?>
There is no .htaccess file in / or in /users although there is one in /usersc but all it has is "options -indexes" in it.