• Resolved Apple.R

    (@red-apple)


    Hi,

    My site uses the LoginPress plugin for modifying the login form. Also, I use the user switching plugin on my site. The problem I have now is, I click on “Switch off” from the “User Profile menu” at the backend. Then I come back on the login form(LoginPress plugin), I don’t see the “switch back” link at the footer. When I try to visit “mydomain.com/wp-admin”, the browser always redirects to “mydomain.com/wp-admin/profile.php” with “Cheatin’ uh? Sorry, you are not allowed to access this site.” message on the screen. If I disable the LoginPress plugin(rename the plugin folder name vis FTP). The default WP login form will show as well as the “switch back” link at the footer. The question is “How to show the switch back link on the login form(LoginPress plugin)?”.

    Thanks,
    Apple

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    You’ll need to get in touch with the author of LoginPress and ask them. It sounds like it’s a bit broken if it’s redirecting incorrectly and not showing messages from other plugins on the login screen.

    Thread Starter Apple.R

    (@red-apple)

    Thank you for reply. I ask the same question to LoginPress support. Here is their answer.

    “User Switching plugin doesn’t provide the functionality by default you are looking for which is to add a switch back link at login form, so it won’t show by default you have to use some WordPress hook to achieve this functionality.”

    thanks,
    Apple

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    User Switching does provide this. If you deactivate LoginPress you’ll see it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to add the “switch back” link on the LoginPress form’ is closed to new replies.