Forgot password

Admin password reset instructions

Recommended: edit .env then run

  1. If .env does not exist yet, copy from .env.example first:

    Linux / macOS

    cp .env.example .env

    Windows

    copy .env.example .env
  2. Open .env, change ADMIN_PASSWORD to your new password
  3. Run in terminal:
npm run reset-admin-password
  1. The script reads ADMIN_PASSWORD from .env and updates the database

Alternative: env variable

Pass the new password via environment variable (current process only):

Linux / macOS

ADMIN_PASSWORD='new-password' npm run reset-admin-password

Windows PowerShell

$env:ADMIN_PASSWORD='new-password'; npm run reset-admin-password

Tip: the reset command works even when the server is not running. Restart the server after resetting.

Back to sign in