Recover forgotten password to Cloudlog

I lost my password to my Cloudlog and there is no “forgotten password” built in. I did not succeed by setting $config[‘use_auth’] = false so this is how I did it.

  1. In the root directory of your Cloudlog installation, create a file called pw.php with the following content (edit the $password variable to the password you want in clear text):

    <?php
    $password = 'cleartextpasswordhere';
    echo password_hash($password, PASSWORD_DEFAULT);

  2. If you don’t have the database password, get it by looking in the file application/config/database.php
  3. Access your database using phpMyAdmin using the database credentials in the previous step
  4. Go to the users table and click edit on the row with your username
  5. Use a web browser and go to http://<your cloudlog url>/pw.php and select and copy the displayed password hash.
  6. In the user_password field, paste the password hash from step 5 and click Go to save
  7. Remove the file pw.php from your cloudlog webroot

You can now log in using the new password.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

19 + 6 =