Is it fine if a website says "email already in use" before you hit submit?
Is it fine if a website says "email already in use" before you hit submit?
I remember hearing before that it's a sign they are storing your info unencrypted but I never checked.
Is this true? I was logging into a .gov website and noticed it does that.
The only thing that needs to be encrypted or hashed is the password.
But telling that an email is already in use is leaking information. A bad actor can use this to figure out if you are using a particular service, or alternatively try random email addresses and check if they belong to a real user. This is why it's usually encouraged to just say "invalid combination of username/email and password", instead of specifying which is incorrect.
I keep telling my team this all the time... The push back is always from the support side that says "well users complain that they don't know what's incorrect to fix." and my answer is always "they got their own credentials wrong... it's ALL incorrect. Do it over".
But that's "user hostile".
"WIPE IT CLEAN. This fucking lady's getting a new account."
That's such brain dead reasoning. Only the password should be hidden - if the user can't tell whether their username is correct they need not to be using a computer...
Crackers. Why we can't have nice things.
User registration will still need to check if the email is the user id (which I loathe).
Not necessarily. If it's implemented well, the frontend will just show a "success" message, but the email sent will be different. This way, the owner of the account will know if they already have an account, or if it wasn't them, that someone else tried to use their email. Meanwhile the bad actor won't know anything new.