Lost my PASSWORD_SALT (!)
Permalink
Um, I accidentally overwrote my config/site.php file and thus have lost my PASSWORD_SALT… Now none of my users can log in :( I published the config/site.php file for my local copy of c5 to the remote server without thinking, and of course it has a different password salt than the remote copy did, so if anyone tries to log in, it can't match their encrypted password to the one in the database now. All my local files are managed with SVN, but I don't have version control on the server.
Any suggestions for what to do?
Any suggestions for what to do?
Thanks. I found it in a backup which I had made and forgotten about. I did have to email people who had registered in the time between when I overwrote the site.php file and when I restored it to the old password salt.
I don't know if others are like me, but I normally don't think of backing up my remote files because my local copy is already in sync and I back that up. I back up my remote database and stuff in the File Manager, but not usually the basic concrete5 stuff that I already have duplicates of. I guess I'll have to rethink that after this experience, but somehow it seemed a little too easy to lose the password salt and then have no way to retrieve it. Well, it's probably just me.
I don't know if others are like me, but I normally don't think of backing up my remote files because my local copy is already in sync and I back that up. I back up my remote database and stuff in the File Manager, but not usually the basic concrete5 stuff that I already have duplicates of. I guess I'll have to rethink that after this experience, but somehow it seemed a little too easy to lose the password salt and then have no way to retrieve it. Well, it's probably just me.
In this situation i should make a script that sends each email a reset password link.