We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Members Login Action?
I'm a little confused on the setup for the Perch Members app. The documentation doesn't seem to explain the "sign in" procedure.
I have the perch_members_login_form(); login script on my website, which displays the generic login form.
When I input my credentials, nothing happens. I noticed that the form template contains not "action". It just states the following?
<perch:member logged-in="true"> <p>Hi <perch:member id="first_name" />, you are logged in</p> <perch:else:member /> <perch:form id="login" method="post" app="perch_members"> <fieldset> <legend>Log in</legend> <perch:error for="all" type="login"> <p class="error">Those details do not match our records.</p> </perch:error> <div> <perch:label for="email">Email</perch:label> <perch:input type="email" id="email" required="true" label="Email" /> <perch:error for="email" type="required">Required</perch:error> <perch:error for="email" type="format">Check format of address</perch:error> </div> <div> <perch:label for="password">Password</perch:label> <perch:input type="password" id="password" required="true" label="Password" /> <perch:error for="password" type="required">Required</perch:error> </div> <div> <perch:input type="submit" id="submit" value="Log in" /> <perch:input type="hidden" id="r" /> <p>Forgotten your password? <a href="/members/reset.php">Reset it now</a>.</p> </div> </fieldset> </perch:form> </perch:member>
The form doesn't even display error messages. It does nothing.
Is there a PHP file that we can modify to do something after the user logs in? Like bring them to another page?
Want to reply to this thread?Login with Perch