[bugfix] update SignupURL routing in email template. (#3055)

This commit is contained in:
CDN 2024-06-30 07:08:13 +08:00 committed by GitHub
parent a76670a471
commit 235bea04fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -260,7 +260,7 @@ func (s *Surface) emailAdminNewSignup(ctx context.Context, newUser *gtsmodel.Use
SignupEmail: newUser.UnconfirmedEmail,
SignupUsername: newUser.Account.Username,
SignupReason: newUser.Reason,
SignupURL: instance.URI + "/settings/admin/accounts/" + newUser.AccountID,
SignupURL: instance.URI + "/settings/moderation/accounts/" + newUser.AccountID,
}
if err := s.EmailSender.SendNewSignupEmail(toAddresses, newSignupData); err != nil {