docs: account-unlock (#1862)

* fix #1854

* generate spec

* add note about unlock script to FAQ
This commit is contained in:
Hayden 2022-11-27 10:17:43 -09:00 committed by GitHub
parent 8ec60668e6
commit 01aac0ca5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 4 deletions

View File

@ -4,7 +4,7 @@
Yes. If you are using the v1 branches (including beta), you can upgrade to the latest version of Mealie without performing a site Export/Restore. This process was required in previous versions of Mealie, however we've automated the database migration process to make it easier to upgrade. Not that if you were using the v0.5.x version, you CANNOT upgrade to the latest version automatically. You must follow the migration instructions in the documentation.
**Links**
Links
- [Migration From v0.5.x](./migrating-to-mealie-v1.md)
@ -41,10 +41,20 @@ Yes, you can install Mealie on your local machine. HOWEVER, it is recommended th
- [Advanced Installation](./installation/advanced/)
## How I can attach an Image or Video to a Recipe?
## How i can attach an image or video to a Recipe?
Yes. Mealie's Recipe Steps and other fields support the markdown syntax and therefor supports images and videos. To attach an image to the recipe, you can upload it as an asset and use the provided copy button to generate the html image tag required to render the image. For videos, Mealie provides no way to host videos. You'll need to host your videos with another provider and embed them in your recipe. Generally, the video provider will provide a link to the video and the html tag required to render the video. For example, youtube provides the following link that works inside a step. You can adjust the width and height attributes as necessary to ensure a fit.
```html
<iframe width="560" height="315" src="https://www.youtube.com/embed/nAUwKeO93bY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
```
## How can I unlock my account?
If your account has been locked by bad password attempts, you can use an administrator account to unlock another account. Alternatively you can unlock all account via a scripts within the container.
```shell
docker exec -it mealie-next bash
python /app/mealie/scripts/reset_locked_users.py
```

View File

@ -11,7 +11,7 @@
## Backing Up Your Data
[See Backups and Restore Section](../admin/backups-and-exports.md) for details on backing up your data
[See Backups and Restore Section](../getting-started/usage/backups-and-restoring.md) for details on backing up your data
## Docker
For all setups using Docker the updating process looks something like this

File diff suppressed because one or more lines are too long