Title: Double registration
Last modified: July 18, 2023

---

# Double registration

 *  [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/double-registration-4/)
 * Sometimes I find a user (with same username, same name, same last name) can register
   to my website 2 times (the second coming some *minutes* later). The activation
   links I receive via email are the only different thing:
   [https://www.domain.com/wp-admin/user-edit.php?user_id=1231](https://www.domain.com/wp-admin/user-edit.php?user_id=1231)
   [https://www.domain.com/wp-admin/user-edit.php?user_id=1232](https://www.domain.com/wp-admin/user-edit.php?user_id=1232)
 * (the second user_id+=1)
   How is this possible?
    -  This topic was modified 2 years, 10 months ago by [islp](https://wordpress.org/support/users/islp/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/double-registration-4/#post-16903973)
 * I would look into possible cache issues.
 * WP-Members uses several functions within WP core to validate the user, which 
   would disallow a duplicate user as WP’s requirements are that a user have a unique
   value for both user_login and user_pass. If you use a cache plugin that caches
   database objects, that could lead to this type of issue.
 * If you’re using a cache plugin, make sure that you understand the configuration
   that you’re using. Ideally, you’d want to exclude registration from being cached.
 * If you (or your host) is using the server side cache called Varnish, then you
   for sure need to direct all registration and login to specific pages that you
   can exclude from the cache.
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/double-registration-4/#post-16905681)
 * Ok, I asked the author of the simple cache plugin I use if the issue can come
   from it. Anyway, in its support forum I found a recent post talking about cache
   issues caused by conflicts with Wordfence (I use Wordfence too). Thanks.
   P.S.(
   OT): have you ever considered to introduce [my feature](https://wordpress.org/support/topic/feature-request-custom-field/)?
   🙂
 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/double-registration-4/#post-16907258)
 * The feature you asked about (a math captcha) is already possible – at least in
   the login form. WP-Members’ login form incorporates WP’s native hooks for the
   login form and authentication. As long as the third party application loads on
   more than wp-login.php, it will be compatible.
 * The reg form also supports WP’s `register_form` action, which is what most plugins
   would use to add to the register form, so it should also be supported.
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/double-registration-4/#post-16908535)
 * The login form is not a problem for me, I’m interested in the registration form:
   I want to add a custom field and replace the captcha (I casually found I can 
   remove 100% of spam submission with a very stupid trick) 🙂
   I will do some research
   using what you suggested as a starting point, thanks. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Double registration’ is closed to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

## Tags

 * [double](https://wordpress.org/support/topic-tag/double/)
 * [Registration](https://wordpress.org/support/topic-tag/registration/)

 * 4 replies
 * 2 participants
 * Last reply from: [islp](https://wordpress.org/support/users/islp/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/double-registration-4/#post-16908535)
 * Status: not resolved