move forgot password to user management

This commit is contained in:
Simon 2025-02-09 10:55:51 +07:00
parent f814d95e5c
commit 7e4eaca319
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 14 additions and 12 deletions

View File

@ -32,18 +32,7 @@ Username for your initial credentials. Changing that after first time starting t
<span class="tag-neutral">Type: String</span>
Password for your initial user. Changing that after creating the user, does not have any effect. Use the admin interface to change your password.
!!! info
If you forgot your password, you can change it directly with:
```python manage.py ta_change_password username password```
e.g.:
```bash
docker compose exec -it tubearchivist python manage.py ta_change_password tubearchivist 123456
```
to change the password of the user `tubearchivist` to `123456`.
If you forgot your password, see [User Management/#Forgot Password](../users.md#forgot-password).
## TZ
<span class="tag-optional">Optional</span>

View File

@ -35,3 +35,16 @@ Delete all user configurations by deleting the file `cache/db.sqlite3` and resta
!!! danger "BE AWARE"
Future feature improvements here may require resetting the user administration database.
## Forgot Password
If you forgot your password, you can change it directly over the CLI with:
```python manage.py ta_change_password username password```
e.g.:
```bash
docker compose exec -it tubearchivist python manage.py ta_change_password tubearchivist 123456
```
to change the password of the user `tubearchivist` to `123456`.