If the same username is registered with a different password, it is treated as a different account. This is good for security reasons but it means if a user forgets his password, there is no way to recover their data. A "forgot password" feature should be implemented, with the user required to input their username to be allowed to change it (meaning 2 accounts cannot have the same username, for security).
If the same username is registered with a different password, it is treated as a different account. This is good for security reasons but it means if a user forgets his password, there is no way to recover their data. A "forgot password" feature should be implemented, with the user required to input their username to be allowed to change it (meaning 2 accounts cannot have the same username, for security).