[Plugin: MXC LDAP] Fixed first visit error message
-
When I first enabled this plugin everything worked with one exception. When I clicked on “Log In” from my welcome page it took me to the wp-login screen and I was give my new English error “Please provide a username”. I should not get an error since I have not yet clicked “Log In” on this page. After looking at the mxc-ldap.php file I figured out the issue. My fix was to change the line:
if ( !function_exists(‘wp_authenticate’) ) :to look like this:
if ( !function_exists(‘wp_authenticate’) && isset($_POST[‘wp-submit’]) ) :Everything works like it should.
Enjoy!!!!!!!!
The topic ‘[Plugin: MXC LDAP] Fixed first visit error message’ is closed to new replies.