kopia lustrzana https://github.com/reiver/greatape
fix(app): 🩹 update email template
rodzic
5504e98714
commit
039dd7f665
|
@ -52,9 +52,14 @@ func Signup(x IDispatcher, username string, email string, password string) (ISig
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
|
|
||||||
if x.IsProductionEnvironment() {
|
if x.IsStagingEnvironment() || x.IsProductionEnvironment() {
|
||||||
x.Email(email, "Confirmation Code: %s", code)
|
x.Email(email, "sign-up",
|
||||||
code = "Confirmation code is sent by email."
|
map[string]interface{}{
|
||||||
|
"app": "GreatApe",
|
||||||
|
"code": code,
|
||||||
|
})
|
||||||
|
|
||||||
|
code = "000000"
|
||||||
}
|
}
|
||||||
|
|
||||||
return x.NewSignupResult(token, code), nil
|
return x.NewSignupResult(token, code), nil
|
||||||
|
|
Ładowanie…
Reference in New Issue