nice-nail-87463
02/03/2022, 8:33 PMHi,
please recover access to your account by clicking the following link:
<a href="{{ .RecoveryURL }}">{{ .RecoveryURL }}</a>
{{ .Identity.traits.name.first }}
</br>
test
in kratos.yml i have set props for courier:
courier:
smtp:
connection_uri: <smtps://test:test@mailslurper:1025/?skip_ssl_verify=true>
from_address: test@custom.domain
template_override_path: /conf/courier-templates
but when i sent recovery email i'm getting the following error:
kratos_1| time=2022-02-03T20:31:29Z level=error msg=Unable to get email body from template. func=<http://github.com/ory/kratos/courier.(*Courier).DispatchMessage|github.com/ory/kratos/courier.(*Courier).DispatchMessage> file=/home/ory/courier/courier.go:185 audience=application error=map[message:template: recovery/valid/email.body.gotmpl:7:12: executing "recovery/valid/email.body.gotmpl" at <.Identity.traits.name.first>: can't evaluate field Identity in type *template.RecoveryValidModel trace:
wet-church-60607
03/01/2022, 2:06 AMwet-church-60607
03/01/2022, 2:10 AMHi {{ .Identity.traits.email }},
Please verify your account by clicking the following link:
{{ .VerificationURL }}
"message": "template: verification/valid/email.body.plaintext.gotmpl:1:15: executing \"verification/valid/email.body.plaintext.gotmpl\" at \u003c.Identity.traits.email\u003e: can't evaluate field Identity in type *template.VerificationValidModel"
wet-church-60607
03/01/2022, 3:17 AMworried-kitchen-94392
03/01/2022, 9:57 AMwet-church-60607
03/01/2022, 12:58 PM