Forums

Allow multiple accounts for same email address (2 posts)

  1. jephperro
    Member
    Posted 1 year ago #

    Hi,

    I have created a multiple-user blog, where I allow users to sign up and create accounts.

    In order to do some detailed testing and QA, I want to allow more than one account to be created for our testers' one email address.

    Where does this check happen? And how can I change it to allow that certain email address to have multiple accounts.

  2. Otto42
    Moderator
    Posted 1 year ago #

    Just use a different email address that goes to the same place. Plus addressing should work.

    Both of these:
    fake+user@example.com
    fake+user2@example.com
    Should go to fake@example.com.

    Plus addressing works on most email systems I've used. But test it yourself first.

    But, if you really really must disable this safety check, edit wp-includes/registration.php and look for function email_exists( $email ). Change it to always return false and you're good.

Topic Closed

This topic has been closed to new replies.

About this Topic