Skip to content

Commit

Permalink
[bugfix] update SignupURL routing in email template. (#3055)
Browse files Browse the repository at this point in the history
  • Loading branch information
CDN authored Jun 29, 2024
1 parent a76670a commit 235bea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/processing/workers/surfaceemail.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 235bea0

Please sign in to comment.