mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-10-31 22:40:01 +00:00
[bugfix] update SignupURL routing in email template. (#3055)
This commit is contained in:
parent
a76670a471
commit
235bea04fd
1 changed files with 1 additions and 1 deletions
|
@ -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