• Resolved kami24

    (@kami24)


    Your plugin redirects the /wp-admin/ url, even when the Lock access to wp-login.php: option is disabled.

    As admin I would like to login via the regular way.

    Can you tell me if you’re planning to fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Alessandro Tesoro

    (@alessandrotesoro)

    Hi @kami24,

    Thanks for reporting the issue, I’ll fix it in the next update. Meanwhile you can add this to your theme’s functions.php file to disable WPUM’s own login redirect.

    remove_filter( 'login_url', 'wpum_login_url', 10 );

    Thread Starter kami24

    (@kami24)

    Thank you for the quick reply! I managed to fix it with your answer and looking forward to the update!

    But now I’ve found another bug, when you select Email only as ‘allow users to login with’, it also breaks the default admin login. As admin, you can’t longer login with a username only.

    Thanks again!

    • This reply was modified 6 years, 2 months ago by kami24.
    Plugin Contributor Alessandro Tesoro

    (@alessandrotesoro)

    This is the correct behaviour.

    The WordPress login system is “centralized” meaning that any modification that any developer does to the login system will affect the whole site and every login form. Unfortunately this cannot be changed right now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Prevent default login redirect’ is closed to new replies.