mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-25 21:26:40 +00:00
[bugfix] update SignupURL routing in email template. (#3055)
This commit is contained in:
parent
a76670a471
commit
235bea04fd
|
@ -260,7 +260,7 @@ func (s *Surface) emailAdminNewSignup(ctx context.Context, newUser *gtsmodel.Use
|
||||||
SignupEmail: newUser.UnconfirmedEmail,
|
SignupEmail: newUser.UnconfirmedEmail,
|
||||||
SignupUsername: newUser.Account.Username,
|
SignupUsername: newUser.Account.Username,
|
||||||
SignupReason: newUser.Reason,
|
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 {
|
if err := s.EmailSender.SendNewSignupEmail(toAddresses, newSignupData); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue