Jump to content

can you have a user with the same name?


benbyf
 Share

Recommended Posts

35 minutes ago, benbyf said:

I was wondering if it was possible to have more than one user with the same user name

Not out of the box, I don't think so. A user is a page like any other page. They share the same parent, Users (ID 29). You cannot have more than one page with the same name under the same parent in ProcessWire.

  • Like 3
Link to comment
Share on other sites

You could use another field, login via email or title, but even then there is the problem:

  • User 1 has password: 123456
  • User 2 has password: 123456

If you search the same name/email at login and loop with the password on found users, then user 2 could login into user 1 account. This would be bad.

The possibility is there to have the same password, and you can login into the wrong user account.

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...