新增支持LoginAuth认证方式适用于IBM、微软等部分邮箱服务 (#2041)

This commit is contained in:
计乐心
2025-06-05 11:31:25 +08:00
committed by GitHub
parent ba63bf2371
commit 174721bc55
7 changed files with 74 additions and 23 deletions
+2
View File
@@ -2,6 +2,7 @@ package initialize
import (
"fmt"
"github.com/flipped-aurora/gin-vue-admin/server/global"
"github.com/flipped-aurora/gin-vue-admin/server/plugin/email"
"github.com/flipped-aurora/gin-vue-admin/server/utils/plugin"
@@ -29,6 +30,7 @@ func bizPluginV1(group ...*gin.RouterGroup) {
global.GVA_CONFIG.Email.Nickname,
global.GVA_CONFIG.Email.Port,
global.GVA_CONFIG.Email.IsSSL,
global.GVA_CONFIG.Email.IsLoginAuth,
))
holder(public, private)
}