I am integrating the aMember Pro membership with Moodle. I have pointed the Moodle login page to the aMember Pro login. The problem is that when I try to login to Moodle as an admin, the aMember Pro login page doesn't recognize the login. I have obviously done something wrong with the directing of the login page. If I try to go to mydomain.com/login/index.php, I get redirected to the aMember login page. Is there a way to manually get back into my Moodle admin so I can disable the redirect? Help. I'm locked out.... Thank you.
If you have access to the config.php file, try adding the following line to the bottom of it:
$CFG->alternateloginurl = '';
Then attempt to login to your moodle site again.