mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-29 03:11:56 +08:00
Feat: use history router mode
This commit is contained in:
@@ -95,7 +95,7 @@ func (service *UserRegisterService) Register(c *gin.Context) serializer.Response
|
||||
|
||||
// 返送激活邮件
|
||||
title, body := email.NewActivationEmail(user.Email,
|
||||
strings.ReplaceAll(finalURL.String(), "/activate", "/#/activate"),
|
||||
finalURL.String(),
|
||||
)
|
||||
if err := email.Send(user.Email, title, body); err != nil {
|
||||
return serializer.Err(serializer.CodeInternalSetting, "无法发送激活邮件", err)
|
||||
|
||||
Reference in New Issue
Block a user