Skip to content

Get back into a locked staff account

Staff reset a forgotten password with Forgot your password? on the admin sign-in page (your admin address, /admin/staff/login unless you chose a private one). Staff and client accounts are separate: the client area’s Forgot Password? link never emails a staff address.

If you cannot sign in to the admin area and Forgot your password? does not help, set the password from the server. You need shell access to the server that runs ClientFence.

  1. Open the ClientFence directory on the server and run the commands as the site user.

  2. List the staff accounts with their status:

    Terminal window
    php console.php clientfence:staff-password
  3. Set the password of one account:

    Terminal window
    php console.php clientfence:staff-password owner@example.com

    Type the new password twice; it is not shown, and Ctrl+D cancels. Without a terminal to type in (a script or --no-interaction), ClientFence makes a strong password and shows it once.

  4. Sign in with the new password.

The new password follows the same strength rules as the Password tab. The command signs the staff member out everywhere and cancels any reset links already sent.

An inactive account still cannot sign in: add --activate to set it active again.

What you see Do this
No reset email ClientFence sends it at once. The newest file in data/log/security/ says why one was not sent (unknown email, too many requests, inactive account); a line starting with Client password reset requested means the client area’s form was used, so use the admin sign-in page. Otherwise check email delivery.
Sign-in refused after too many tries Wait, or run php console.php cache:clear: it also clears the sign-in counters.
The email PIN, an IP rule, a country rule or the CAPTCHA blocks you Run php console.php clientfence:signin-security-off. See Sign-in security.
Two-factor code lost Sign in with the email PIN, or ask a Super Administrator. See Two-factor sign-in.