Re:Problems with JPA/Hibernate
by imtringued on Monday April 12, 2021 @11:10AM
(#26780245)
>Or they simply sign up with their personal email. If you have more user objects than people in your system, you are doing something wrong.
I have three discord accounts and there is no way to avoid that.
Re:Problems with JPA/Hibernate
by jillesvangurp on Monday April 12, 2021 @12:49PM
(#26781714)
Github manages fine. I've used my account on numerous projects. Github simply recognizes that you are you and that your account and your company's data are two things.
Having a notion of multiple verified ways to contact the user is one step up over this. Not lot of websites actually do this. Linkedin is one of them; because they recognized early that they needed to track their users as they changed their professional affiliation.
I tend to use list fields for things like phone numbers and email addresses. This makes it clear that I understand that users might legitimately have several of those and that they change over time. I always liked what Keybase did with encouraging its users to have multiple verified third party identities (the more the better).
Using a social security number is a mistake for a different reason: it's a sensitive bit of information that can be abused if it falls in the wrong hands. You should protect it like you would protect a credit card number and generally not store it unless you absolutely have a valid business reason to. Also, it's country specific which sort of makes it an obstacle if you need to serve an international market (or have the ambition to do so later).