Forgot password
Admin password reset instructions
Recommended: edit .env then run
- If .env does not exist yet, copy from .env.example first:
Linux / macOS
cp .env.example .envWindows
copy .env.example .env - Open .env, change ADMIN_PASSWORD to your new password
- Run in terminal:
npm run reset-admin-password - 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