Jump to content
MarkusAllen

Forgot my admin/password

Recommended Posts

Greetings,

You will have to force a template to set a temporary password for you.

1. Add this code to any template file in your site:

$temp = $users->get('admin');

$temp->of(false);

$temp->pass = 'rememberme';

$temp->save();

Replace "rememberme" with your own temporary password.

2. Browse to the page where you placed this code.

3. Remove the code from the template (so it does not reset the password again).

4. Log into your site and change your password from the admin control panel.

Thanks,

Matthew

  • Like 1

Share this post


Link to post
Share on other sites

How to retrieve or reset admin's password is already explained many times before in the forum.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...