There are always trade-offs, and developers have to consider the suitability, the cleverness of the intended users, the privacy and importance of the data, the frequency of use of the website, etc. Of course, users don’t want their privacy to be violated, but on the other hand, “regular” web users can be disabled if you need to remember a password or even think of them first (some websites make it easy to register a user by generating random password and email). Website developers are responsible for taking user interests into account when developing security.
My advice is that passwords should only be sent by email if they are generated randomly. This avoids the following inconvenient scenario: a user logs in with a password that they already use for various other web services, and then receives an email with registration confirmation containing the password just entered. Many users may not have enough security awareness to use unique passwords for each website, but they are safe enough to understand that sensitive passwords should not be emailed.
Todd owner
source share