Lost password salt

Permalink
Hi.
As far as I understand the password salt in config/site.php is used when I create a new user to hash the password. Right?

I don't know why but I removed the password salt line from site.php. How can I get it back? If I just use another password salt (maybe from a clean install) will my current admin login and the other users still work? How can I recover the original password salt? Thanks!

malthoff
 
ryan replied on at Permalink Reply
ryan
Yeah, there's no way to recover that.
Easiest way to get back in is to use the forgot password function.
mnakalay replied on at Permalink Reply
mnakalay
Since the hash doesn't change during a website life time, you could also get it back from any backup. If your website is live your host probably has backups