Skip to content
Snippets Groups Projects

fix(email): changed verification method

Merged Nathanael Santoso requested to merge fix/s1-sb20-implementasi-api-verifikasi-email into staging
Compare and
5 files
+ 7
6
Preferences
Compare changes
Files
5
@@ -13,11 +13,9 @@ type SmtpMailProvider struct {
}
func New(env *env.Environment) *SmtpMailProvider {
auth := smtp.PlainAuth(
env.SmtpIdentity,
auth := smtp.CRAMMD5Auth(
env.SmtpUsername,
env.SmtpPassword,
env.SmtpServer,
)
return &SmtpMailProvider{