Skip to content

Commit a330670

Browse files
committed
change default sender and remove ports
1 parent ba491fd commit a330670

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

consumer/emailSender/sender.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ type SMTPConfig struct {
2828

2929
const (
3030
// DefaultSender is the default email address to send emails from.
31-
DefaultSender = "[email protected]"
31+
DefaultSender = "[email protected]"
3232
)
3333

3434
// #sept
3535
func ForgotPassword(to string, resetURL string) error {
3636
log.Println("Inside sender.ForgetPassword")
3737
email := Email{
38-
Subject: "Reset your password",
38+
Subject: "Reset your password at Gopherblog",
3939
To: to,
4040
Plaintext: "To reset your password, please visit the following link: " + resetURL,
4141
HTML: `<p> To reset your password, please visit the

docker-compose.yml

-4
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,12 @@ services:
4141

4242
frontend:
4343
restart: always
44-
ports:
45-
- 4000:4000
4644
build:
4745
context: ./
4846
dockerfile: frontend.dockerfile
4947

5048
backend:
5149
restart: always
52-
ports:
53-
- 3000:3000
5450
depends_on:
5551
- db
5652
build:

go.work.sum

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
github.com/go-mail/mail/v2 v2.3.0 h1:wha99yf2v3cpUzD1V9ujP404Jbw2uEvs+rBJybkdYcw=
2+
github.com/go-mail/mail/v2 v2.3.0/go.mod h1:oE2UK8qebZAjjV1ZYUpY7FPnbi/kIU53l1dmqPRb4go=
3+
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc/go.mod h1:m7x9LTH6d71AHyAX77c9yqWCCa3UKHcVEj9y7hAtKDk=
4+
gopkg.in/mail.v2 v2.3.1/go.mod h1:htwXN1Qh09vZJ1NVKxQqHPBaCBbzKhp5GzuJEA4VJWw=

0 commit comments

Comments
 (0)