From 6819b1725558f8dcdc2b7683772107e7f62167aa Mon Sep 17 00:00:00 2001 From: Pyromane Date: Mon, 10 Apr 2023 16:09:57 +0200 Subject: [PATCH] Update troubleshooting.md Enhanced how to list users and reset a user's password. --- docs/troubleshooting.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 6c43dae0..4eab24af 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -22,6 +22,11 @@ php bin/console doctrine:migrations:migrate If this does not help, please [open an issue on GitHub](https://github.com/Part-DB/Part-DB-symfony). +## Search for user and reset password: +You can list all users with the following command: php bin/console partdb:users:list +To reset the password of a user you can use the following command: php bin/console partdb:users:set-password [username] + + ## Error logs Detailed error logs can be found in the `var/log` directory. When Part-DB is installed directly, the errors are written to the `var/log/prod.log` file. @@ -35,4 +40,4 @@ docker-compose logs -f Please include the error logs in your issue on GitHub, if you open an issue. ## Report Issue -If an error occurs, or you found a bug, please [open an issue on GitHub](https://github.com/Part-DB/Part-DB-symfony). \ No newline at end of file +If an error occurs, or you found a bug, please [open an issue on GitHub](https://github.com/Part-DB/Part-DB-symfony).