From 6f29b481622e5b5dcf2c2402d6ddf3628f13ceb2 Mon Sep 17 00:00:00 2001 From: Alexander Kurakin Date: Fri, 22 May 2020 18:29:38 +0300 Subject: [PATCH] Reflect #787 in docs. Closes #628 --- docs/faq.md | 25 +++++++++++++++++++++---- docs/images/faq/add_user.png | Bin 13722 -> 0 bytes 2 files changed, 21 insertions(+), 4 deletions(-) delete mode 100644 docs/images/faq/add_user.png diff --git a/docs/faq.md b/docs/faq.md index 0fcd0c4d..18a5033c 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -18,10 +18,27 @@ Please check the following list. ## I want to add annotators annotators/annotation approvers -1. Add a user from [Django Admin site](https://djangobook.com/django-admin-site/). -![Add a user](./images/faq/add_user.png) -2. **Logout from Django Admin site.** [You'll face login error without logout of Django Admin site](https://github.com/doccano/doccano/issues/723). -3. Add the user to the project in the member page (`/projects/{project_id}/members`). +1. Login to [Django Admin](https://djangobook.com/django-admin-site/) (URL: `/admin`). +2. Add a user to `Users` table (`Add` link). +3. **Logout from Django Admin site.** [You'll face login error without logout of Django Admin site](https://github.com/doccano/doccano/issues/723). +4. Add the user to the project in the member page (`/projects/{project_id}/members`). + +## I want to change user's or admin's password + +For ordinary user: + +1. Login to [Django Admin](https://djangobook.com/django-admin-site/) (URL: `/admin`). +2. Open `Users` table. +3. Open user you want to change password. +4. In `Password` property, you'll see: `Raw passwords are not stored, so there is no way to see this user's password, but you can change the password using *this form*.` Click `this form` link. +5. Fill the form. Click `CHANGE PASSWORD` button. +6. **Logout from Django Admin site.** [You'll face login error without logout of Django Admin site](https://github.com/doccano/doccano/issues/723). + +For the superuser account credentials, you have to set new password in the `docker-compose.dev.yml` and `docker-compose.prod.yml` files: + +```yml +ADMIN_PASSWORD: "new_password" +``` ## I want to update to the latest doccano image diff --git a/docs/images/faq/add_user.png b/docs/images/faq/add_user.png deleted file mode 100644 index 6166db14dd78d4f5e34dc6ede8f5859722a287ca..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 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