05-17-2018, 06:15 AM
Yes in the
Whole contents of the file:
<pre></pre>
I have tried with a / before the index.php as well and that didn't work either.
Little bit of info I'm running userspice version 4.3.10
Code:
usersc/scripts/custom_login_script.php
Whole contents of the file:
<pre>
Code:
<?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
Redirect::to($us_url_root.'index.php');
?>
I have tried with a / before the index.php as well and that didn't work either.
Little bit of info I'm running userspice version 4.3.10