I make a
> login.php
page.
If it finds the Username & Password values in the table “userlogindetails” it rdirects to the formpage.php.
Groovy. Done this successfully often but not within months & pandemic & Red Moon rising. Before Actions became API.
Now, with correct credentials I get these –
<dmx-serverconnect id="serverconnect1" url="dmxConnect/api/login.php"></dmx-serverconnect><div is="dmx-browser" id="browser1"></div>
<header>
<div class="d-flex"></div>
</header>
<div class="container">
<form is="dmx-serverconnect-form" id="loginform" method="post" action="dmxConnect/api/login.php" dmx-generator="bootstrap5" dmx-form-type="vertical">
<div class="row gx-3">
<div class="col">
<div class="form-group mb-3">
<label for="inp_email">Email</label>
<input type="text" class="form-control" id="inp_email" name="email" aria-describedby="inp_email_help" placeholder="Enter Email">
</div>
</div>
</div>
<div class="row gx-3">
<div class="col">
<div class="form-group mb-3">
<label for="inp_story_collector_id">Password</label>
<input type="password" class="form-control" id="inp_story_collector_id" name="story_collector_id" aria-describedby="inp_story_collector_id_help" placeholder="Enter Password">
The Security Provider was set up like this:
Okay, heck with it. Screenshot doesn’t load.
And the ACTION for my login.php page was simply dropping the Security Provider itself into API “login”. And running the Conversion “Make login form” on my login.php used these post values . . .
I have tried this both ways – resetting the $_POST username and password fields to the literal values I set in the Security Provider (mapping the username and password values to the actual column values in my
“userlogindetails” table)
and leaving the default $_POST.username & $_POST.password alone, since they were already correctly passed in the Security Provider itself.
Does anyone have the patience to see the error of my ways?