Password Hash should be Hidden on form
When I create a password, it's saving with hash. But It's not a good to showing the hash. Please help me to fix this.
9 Replies
Ideally the password should be in
$hidden
of your model and not be passed to the frontend? Did you remove that?Yes! Without removing, it's not showing the form.
So that's solved? Or is there a valid reason why you need it to be non-hidden?
This now showing the encrypted hash. It should be show the correct password. I mean decrypted hash password.
I mean decrypted hash password.There is no such thing as a "decrypted hash". Hashes aren't meant to be decrypted.
So if I add again the hidden on model and if I take the password filed empty to take the older password, maybe it will be right thing. Am I right?
Solution
Make it hidden. The rest of the snippet should work fine.
People can adjust their password if they add a new one. But the old one shouldn’t be showing
Thank you ♥️