WordPress.org

Ready to get started?Download WordPress

Forums

Login with Email Only (6 posts)

  1. freddy33r
    Member
    Posted 4 years ago #

    I'm trying to setup a wordpress registration that will require Name, Email, Address, City, Zip, and Phone. I think I can use the Register Plus plugin for that.

    However, to login I only want the visitor to enter their email address only and be granted access to the rest of the site. I'm not sure exactly how I can implement that.

    Any help is appreciated.

  2. Joe Hall
    Member
    Posted 4 years ago #

    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.

  3. netelbcn
    Member
    Posted 4 years ago #

    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

  4. viktora
    Member
    Posted 3 years ago #

    To: netelbcn

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

  5. Austin Passy
    Member
    Posted 3 years ago #

    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..

  6. danielpataki
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic