I’ve added a member log-in form to a page using:
{exp:member:login_form return="myfolder/mypage"}
But the log-in form created keeps trying to log the member into the control panel—which they don’t have access to, so all they get is a “You are not authorized to perform this action” error.
If I look at the page source created by the tag, it creates a form action with “/admin.php/” appended to the end of the site’s domain:
<form method=“post” action=“http://premier.ehclients.com/admin.php/” >
I’ve done this same exact thing with other EE sites, and on those sites the {exp:member:login_form} tag creates a form action that points to the site’s home page— without the /admin.php appended onto the end.
Is there some configuration/setting that is causing this behavior by the {exp:member:login_form} tag?