diff --git a/README.md b/README.md index 496121f..dec0978 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ In order to sent the wireguard configuration to clients via email (using sendgri ``` SENDGRID_API_KEY: Your sendgrid api key -EMAIL_FROM: the email address you registered on sendgrid +EMAIL_FROM_ADDRESS: the email address you registered on sendgrid EMAIL_FROM_NAME: the sender's email address ``` diff --git a/docker-compose.yaml b/docker-compose.yaml index ffcd9b1..814a671 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -10,7 +10,7 @@ services: network_mode: host environment: - SENDGRID_API_KEY - - EMAIL_FROM + - EMAIL_FROM_ADDRESS - EMAIL_FROM_NAME - SESSION_SECRET - WGUI_USERNAME=alpha diff --git a/main.go b/main.go index fe1ba68..6c1ff12 100644 --- a/main.go +++ b/main.go @@ -34,7 +34,7 @@ var ( const ( defaultEmailSubject = "Your wireguard configuration" defaultEmailContent = `Hi, -
in this email you can file your personal configuration for our wireguard server.
+In this email you can find your personal configuration for our wireguard server.
Best
`