From 235bea04fd9ef31d3ffd5367a4254de32a34c201 Mon Sep 17 00:00:00 2001 From: CDN Date: Sun, 30 Jun 2024 07:08:13 +0800 Subject: [PATCH] [bugfix] update SignupURL routing in email template. (#3055) --- internal/processing/workers/surfaceemail.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/processing/workers/surfaceemail.go b/internal/processing/workers/surfaceemail.go index d0a40e6ba..56f33eaf3 100644 --- a/internal/processing/workers/surfaceemail.go +++ b/internal/processing/workers/surfaceemail.go @@ -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 {