You might be able to make your own login form that bypasses the wp_login()
function. This page https://codex.wordpress.org/Customizing_the_Login_Form , in the “Make a Custom Login” section, might get you started.
There are no hooks that I see in the https://core.trac.wordpress.org/browser/tags/4.8/src/wp-login.php code that you can use to bypass the password field. So creating your own login page, with associated form processing code, might be how this could be done.
There are lots of plugins that have to do with customizing the login form, perhaps one of those has the features you need.
You might be able to use the action login_form to change the ‘action’ part of the login form to code of your choosing (that, perhaps, just ignores the password field checking and just looks up the user).
Your question indicates that you are aware of security risks associated with not verifying logins.
Related Posts:
- How to customise wp-login.php only for users who are setting a password for the first time?
- reset password link redirect to login page
- Password reset – Disabled for LDAP accounts
- Is there anyway to get the inputted password string from the login form?
- Temporally disable password to login with empty password?
- Login form does not store/remember/suggest users password
- How can I redirect user after entering wrong password?
- Check for correct username on custom login form
- Custom login form
- Prevent wp_login_form() from redirecting to wp-admin when there are errors
- How do I change the language of only the login page?
- Disable WordPress 3.6 idle logout / login modal window / session expiration
- Avoid to load default WP styles in login screen
- How to fake a WordPress login?
- Can not login with correct username and password
- How can I add a custom script to footer of login page?
- How to keep always logged in development environment
- Add Confirm Password field in wp-login.php Password Reset page
- I want to disable E-Mail verifcation / activation when a user signs up for my WordPress site
- custom login page redirect to logged in user profile page
- How can I modify the default reset (lost) password email text?
- Action wp_login_failed not working if only one field is filled out
- Give visitor access to password protected page/post via external script
- Send reset password link to user from custom lost password form
- WordPress Login Footer URL
- Remove built in wordpress login and use only google auth
- Change Login Page for a Multisite Subsite
- Positioning the “Lost your password?” and “← Back to Site”
- send users logging in from wp-login.php directly to home page of site, rather than dashboard
- How can I retrieve the username and password from my WordPress installation?
- How to get login data (session) outside WordPress?
- password protect individual pages
- Problem with logging in WP users automatically
- How to determine if a user has not changed default generated password
- Add class to input form in login form
- Allow access to a page for admins only
- Customizing login error messages
- Customizing the WordPress login form
- Restricting frontend acess based on user role otherwise redirect to login form
- Right practice to edit WP reset password email
- how to restrict user login whenever if a user puts on hold by editing wp-login action?
- How do I force “users must be registered and logged in” on subsites?
- deny IPs from wp-login using .htaccess
- Passing username to login screen
- Login error redirecting to wp-login page
- How can I prevent my custom form from redirecting to wp-login?
- Private page protected with username and password
- How do I replace “Username” in the WordPress login form?
- Password protect media attachment – share across guests
- Custom Login iframe doesn’t work
- How to Get Logged-in to “Remote WP Site” from my local script (in Same Browser)?
- Replace dash with space in username on login
- Autologin only working the second time
- replace wp-login.php login forms via a hook & use custom forms with wp-login form validation
- Why wp_update_user doesn’t update user_activation_key on users with apostrophes in their email?
- Forgot Password/ Password Reset Page does not exist
- Correct passwords keep appearing as incorrect
- Forgot password needs to redirect from wp-login to a custom page
- Auto login between word press subdomain and a .net website
- Disabling standard registration login with username/email and password?
- Deep customization of wp-login.php
- How to change wordpress Log In text
- WordPress error on log out ‘Not Permitted’ and can’t log out
- Redirect wp-login
- How can I change the email sender name from wordpress to (myblogname) on the “lost password” email?
- Is wp_login_form secure on a non secure page?
- How to password-protect everything except the logo
- Is the login encrypted before it is sent? If so how to do I encrypt it the same way?
- Form Action submit over https
- Login and Forgot password in Lightbox
- Forcing frontend login with UI switch
- How can I password protect a WordPress site without requiring users to log in?
- Prevent display password on wp-login.php
- Password not resetting on wordpress?
- autocomplete=”off” WordPress Login
- Change default login auth
- WordPress not logged in locally with correct username and password
- WordPress SSL not working [closed]
- Where is the php file, that does the checks for login information?
- Can I protect a type of content site-wide with a single password?
- Password recovery URL has error – but not found in code or db
- Cannot Get User id after login success in file wp_login.php
- Alert Message through email or phone(Message)
- Moving from one host to another – cannot access the dashboard
- How are all users now set to inactive?
- I need to find which is the file that checks the DB for correct login (username, password)
- woocommerce store login not working at first time
- How do I change the language of the login page to Arabic?
- How do you implement a login feature on a WordPress site?
- How to add custom authentication to wordpress login and register
- Problem in auto login after registration
- Custom user roles are unable to login
- Using is_user_logged_in() to lock down whole site
- How to invalidate `password reset key` after being used
- Check for $ _POST fields in a POST method form
- Styling WordPress login page – Can I change the markup on the login page?
- Special link for no automatic login (no username and no password)
- WordPress password reset not working
- Modify wp-login.php Labels Conditionally Based On Referring URL
- Can’t login with any account – No error message shown