web/satellite: verification email change

Change-Id: I0293ef4411b55e42bb372b230d797d6798eda515
This commit is contained in:
NikolaiYurchenko 2020-01-24 14:56:33 +02:00
parent f4317d257a
commit 9bcb81108f
2 changed files with 3 additions and 0 deletions

View File

@ -143,6 +143,7 @@ func (a *Auth) Register(w http.ResponseWriter, r *http.Request) {
&consoleql.AccountActivationEmail{
ActivationLink: link,
Origin: a.ExternalAddress,
UserName: userName,
},
)
@ -356,6 +357,7 @@ func (a *Auth) ResendEmail(w http.ResponseWriter, r *http.Request) {
ActivationLink: link,
TermsAndConditionsURL: termsAndConditionsURL,
ContactInfoURL: contactInfoURL,
UserName: userName,
},
)
}

View File

@ -26,6 +26,7 @@ type AccountActivationEmail struct {
ActivationLink string
ContactInfoURL string
TermsAndConditionsURL string
UserName string
}
// Template returns email template name