This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
In vers. 3.2, Automatic Login Fails
Started 11 years ago by DaveVoss | 3 posts |
-
I modified my version 3.1 index.php, line 50 per a post I had seen in this forum so that I can login from my computer with command parameters. My line 50 looks like this:
if(!empty($_POST['submit']) || !empty($_GET['auth'])){
When I made the same change to version 3.2, I get the error that I entered an incorrect email or password. Will this modification not work in 3.2 or is there another solution?
I REALLY like the new columns feature in 3.2!
Posted 11 years ago # -
Can you let me know what was the post?
MachForm Founder
Posted 11 years ago # -
For what it's worth, here's the original post:
http://www.appnitro.com/forums/topic/pass-login-parameters?replies=4
However, after re-reading the post I saw my error. The next two lines also have to be changed, so that the full modification looks like this:if(!empty($_POST['submit']) || !empty($_GET['auth'])){
$username = trim($_REQUEST['admin_username']);
$password = trim($_REQUEST['admin_password']);Now it works like a charm.
Posted 11 years ago #
Reply
You must log in to post.