Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I’m not entirely sure what this code is trying to do, but adding a condition to one of the if() statements to prevent the logic from being applied when the referrer contains the lostpassword parameter seems like it should work. Try adding && !strstr( $referrer,'?action=lostpassword') to one of the if() statements in my_custom_function().

    Which one? I’m not sure. Try the second one. If that doesn’t work try the other. That may not work either. Sorry I can’t be more definitive, but it’s at least worth a try.

Viewing 1 replies (of 1 total)

The topic ‘Custom login form code causing errors’ is closed to new replies.