01-19-2017, 11:24 PM
Hi,
I'm trying to create a private site, I'd like users to hit the login page first before going anywhere. I've setup index.php to redirect to the page I want (homepage.php) located in the users folder. I have also modified the login.php file (moved to users) based on the login.php in users, mainly changing the css and removing the navigation.php so it only displays the login prompts. I can't seem to get past the "tokens don't match" error message, even when checking the source code of the original page and displaying the token, which appears to be the same it won't work.
Anybody point me in the right direction for some examples of how to make this work. Happy to provide any additional information, not sure what you need. I'm running on 4.2 BETA, on a Raspberry Pi.
Thanks in advance for any help
I'm trying to create a private site, I'd like users to hit the login page first before going anywhere. I've setup index.php to redirect to the page I want (homepage.php) located in the users folder. I have also modified the login.php file (moved to users) based on the login.php in users, mainly changing the css and removing the navigation.php so it only displays the login prompts. I can't seem to get past the "tokens don't match" error message, even when checking the source code of the original page and displaying the token, which appears to be the same it won't work.
Anybody point me in the right direction for some examples of how to make this work. Happy to provide any additional information, not sure what you need. I'm running on 4.2 BETA, on a Raspberry Pi.
Thanks in advance for any help