website/docs: note to not use quotation marks for email
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
61621e7d60
commit
c663deb659
|
@ -100,11 +100,11 @@ Disable the inbuilt update-checker. Defaults to `false`.
|
|||
|
||||
- `AUTHENTIK_EMAIL__USERNAME`
|
||||
|
||||
Default: `""`
|
||||
Default: `` (Don't add quotation marks)
|
||||
|
||||
- `AUTHENTIK_EMAIL__PASSWORD`
|
||||
|
||||
Default: `""`
|
||||
Default: `` (Don't add quotation marks)
|
||||
|
||||
- `AUTHENTIK_EMAIL__USE_TLS`
|
||||
|
||||
|
|
|
@ -39,9 +39,9 @@ Append this block to your `.env` file
|
|||
# SMTP Host Emails are sent to
|
||||
AUTHENTIK_EMAIL__HOST=localhost
|
||||
AUTHENTIK_EMAIL__PORT=25
|
||||
# Optionally authenticate
|
||||
AUTHENTIK_EMAIL__USERNAME=""
|
||||
AUTHENTIK_EMAIL__PASSWORD=""
|
||||
# Optionally authenticate (don't add quotation marks to you password)
|
||||
AUTHENTIK_EMAIL__USERNAME=
|
||||
AUTHENTIK_EMAIL__PASSWORD=
|
||||
# Use StartTLS
|
||||
AUTHENTIK_EMAIL__USE_TLS=false
|
||||
# Use SSL
|
||||
|
|
|
@ -5,7 +5,7 @@ title: Troubleshooting Email sending
|
|||
To test if an email stage, or the global email settings are configured correctly, you can run the following command:
|
||||
|
||||
````
|
||||
./manage.py test_email <to address> [-s <stage name>]
|
||||
ak test_email <to address> [-s <stage name>]
|
||||
```
|
||||
|
||||
If you omit the `-s` parameter, the email will be sent using the global settings. Otherwise, the settings of the specified stage will be used.
|
||||
|
@ -13,11 +13,11 @@ If you omit the `-s` parameter, the email will be sent using the global settings
|
|||
To run this command with docker-compose, use
|
||||
|
||||
```
|
||||
docker-compose exec worker ./manage.py test_email [...]
|
||||
docker-compose exec worker ak test_email [...]
|
||||
```
|
||||
|
||||
To run this command with Kubernetes, use
|
||||
|
||||
```
|
||||
kubectl exec -it deployment/authentik-worker -c authentik -- ./manage.py test_email [...]
|
||||
kubectl exec -it deployment/authentik-worker -c authentik -- ak test_email [...]
|
||||
```
|
||||
|
|
Reference in New Issue