The problem with this and letting users choose their passwords is that of reuse, they'll use the same password for more than one thing.

You're then storing it in an extremely insecure way that anyone can access, you aren't even hashing it.

There just isn't a good reason for doing it and very bad things can happen