douglas81 Posted October 23, 2015 Posted October 23, 2015 Agh! Developing a site and really stupidly deleted the site/config.php file. Don't ask me how, I'm not quite sure. Anyway, I don't have a log of the userAuthSalt. I guess I need to generate a new one and also new passwords? Any advice much, much appreciated.
Macrura Posted October 24, 2015 Posted October 24, 2015 Hi douglas81, I'm not an expert on this, but i think what I might try in this case would be to: 1.) rebuild your config.php - maybe from a vanilla install, or another site; 2.) change the password of the superadmin from the API, which would then presumably use the new userAuthSalt; <?php $admin = $users->get('admin'); // username of superadmin $admin->of(false); $admin->pass = 'yo12345'; // put in your new password $admin->save(); 3
douglas81 Posted October 24, 2015 Author Posted October 24, 2015 Thanks. Managed to get it to work again. Phew! 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now