WordPress.org

Support

Support » How-To and Troubleshooting » Login with Email Only

Login with Email Only

Viewing 5 replies - 1 through 5 (of 5 total)
  • I am pretty certain thats either going to take another plugin or some serious hacking. Either way I don’t think its a good idea.

    Hi freddy!
    I’m trying to do the same process, login to wordPress but only with the e-mail address (without password).

    Have you some idea?

    Thanks

    To: netelbcn

    Hi, I would like to have the same functionality. Have you found any solution? Thanks a lot.

    You can’t. But you can restrict the content bases on a cookie setting. So have a form field to enter an email address that then sets a 24 hour or however long cookie that will then allow the content to be shown.

    See my plugin Hide and Catch Email. You would have to modify the code and add different filters to get it to work for you the way you want, but..

    This is actually possible, but I would really, really advise against it, there are serious security concerns involved, and it would be extremely easy not just to hack an account, but basically anyone could steal your blog if they knew the admin’s email.

    You can use wp_set_auth_cookie($user_id) to log in a user with the id in the brackets. If you were to create your own login form, which would just be an email field, you could look up the user’s ID in the database and use the above function to log him in.

    Again, extremely bad idea.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Login with Email Only’ is closed to new replies.