Update Infra
This commit is contained in:
@@ -2,16 +2,16 @@ package auth
|
||||
|
||||
import (
|
||||
"context"
|
||||
"enaklo-pos-be/config"
|
||||
"enaklo-pos-be/internal/common/mycontext"
|
||||
"enaklo-pos-be/internal/entity"
|
||||
"enaklo-pos-be/internal/utils"
|
||||
"fmt"
|
||||
"furtuna-be/config"
|
||||
"furtuna-be/internal/common/mycontext"
|
||||
"furtuna-be/internal/entity"
|
||||
"furtuna-be/internal/utils"
|
||||
"go.uber.org/zap"
|
||||
|
||||
"furtuna-be/internal/common/errors"
|
||||
"furtuna-be/internal/common/logger"
|
||||
"furtuna-be/internal/repository"
|
||||
"enaklo-pos-be/internal/common/errors"
|
||||
"enaklo-pos-be/internal/common/logger"
|
||||
"enaklo-pos-be/internal/repository"
|
||||
)
|
||||
|
||||
type AuthServiceImpl struct {
|
||||
@@ -130,7 +130,7 @@ func (u *AuthServiceImpl) SendPasswordResetLink(ctx context.Context, email strin
|
||||
|
||||
sender := u.emailCfg.Sender
|
||||
templatePath := u.emailCfg.ResetPassword.TemplatePath
|
||||
subject := fmt.Sprintf("Furtuna %s", u.emailCfg.ResetPassword.Subject)
|
||||
subject := fmt.Sprintf("enaklo-pos %s", u.emailCfg.ResetPassword.Subject)
|
||||
if user.UserType == "CUSTOMER" {
|
||||
sender = u.emailCfg.SenderCustomer
|
||||
templatePath = u.emailCfg.ResetPassword.TemplatePathCustomer
|
||||
|
||||
Reference in New Issue
Block a user