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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...