set right variable for name in hi_user_name (#3162)
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
This commit is contained in:
1 parent
af6f33c709
commit
44f0893674
2 files changed
+2
-2
No files matched your search
@@ -16,7 +16,7 @@ export const ForgotPasswordEmail = (
|
||||
return (
|
||||
<BaseEmailHtml subject={props.language("reset_password_subject")}>
|
||||
<p>
|
||||
<>{props.language("hi_user_name", { user: props.user.name })}!</>
|
||||
<>{props.language("hi_user_name", { name: props.user.name })}!</>
|
||||
</p>
|
||||
<p style={{ fontWeight: 400, lineHeight: "24px" }}>
|
||||
<>{props.language("someone_requested_password_reset")}</>
|
||||
|
||||
@@ -36,7 +36,7 @@ export default class ForgotPasswordEmail extends BaseEmail {
|
||||
protected getTextBody(): string {
|
||||
return `
|
||||
${this.passwordEvent.language("reset_password_subject")}
|
||||
${this.passwordEvent.language("hi_user_name", { user: this.passwordEvent.user.name })},
|
||||
${this.passwordEvent.language("hi_user_name", { name: this.passwordEvent.user.name })},
|
||||
${this.passwordEvent.language("someone_requested_password_reset")}
|
||||
${this.passwordEvent.language("change_password")}: ${this.passwordEvent.resetLink}
|
||||
${this.passwordEvent.language("password_reset_instructions")}
|
||||
|
||||
Reference in new issue
Block a user