We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22ff2ce commit c8a27f9Copy full SHA for c8a27f9
src/config/email.ts
@@ -42,6 +42,9 @@ class EmailProvider {
42
private setMailConfig = (): nodemailer.SentMessageInfo => {
43
const configTransport: nodemailer.SentMessageInfo = {
44
service: MAIL_DRIVER,
45
+ auth: {
46
+ user: '',
47
+ },
48
}
49
50
// Use Google OAuth
@@ -61,6 +64,7 @@ class EmailProvider {
61
64
return result
62
65
63
66
67
+ configTransport.auth.user = MAIL_USERNAME
68
configTransport.auth.type = MAIL_AUTH_TYPE
69
configTransport.auth.clientId = OAUTH_CLIENT_ID
70
configTransport.auth.clientSecret = OAUTH_CLIENT_SECRET
0 commit comments