This is clearly unfair, there is no difference from sharing a solution.
For starters, passwords should really not have any kind of emotional attachment to the user.