• Resolved Eric Malalel

    (@teachlynx)


    I begin to use your plugin on a multisite install and it works great, especially because I can assign a different database to each site.

    But I forecast a problem in the following situation:
    site1 is associated to database1 which contains a user 1 with id = myid and email = myemail
    site2 is associated to database2 which contains also a user 2 with id = myid and email = myemail
    So there will be a mix of WP user accounts for user 1 and user 2.

    Is it possible to configure or adapt your plugin so userid and email of WP accounts are automatically prefixed with site number in WP when they are created, and this prefix is automatically added for the authentification process?

    For instance:
    user 1 will enter myid and password in login form, but will be created and authenticated with id = 1_myid and password, if his site number is 1
    user 2 will enter myid and password in login form, but will be created and authenticated with id = 2_myid and password, if his site number is 2

    I have to add that I will never need to have a user registered on more than one site, these sites are totally independant.

    https://wordpress.org/plugins/external-db-auth-reloaded/

Viewing 1 replies (of 1 total)
  • Plugin Author Joshua Parker

    (@parkerj)

    I really can’t help you with multisite functionality. However my question for you is are your users logging in with a userID and password instead of a username and password? If your users for some reason are having the same password, then you need to work it out in your external system to make them more unique with a prefixing or suffixing them.

Viewing 1 replies (of 1 total)
  • The topic ‘users with same id and password on different sites’ is closed to new replies.