fix: variable names
This commit is contained in:
parent
05615d1449
commit
74012158b3
2 changed files with 1 additions and 3 deletions
|
@ -2515,7 +2515,7 @@ App::post('/v1/account/recovery')
|
|||
'bg-content' => '#ffffff',
|
||||
'text-content' => '#000000',
|
||||
/* {{user}} ,{{team}}, {{project}} and {{redirect}} are required in the templates */
|
||||
'user' => $user->getAttribute('name'),
|
||||
'user' => $profile->getAttribute('name'),
|
||||
'team' => '',
|
||||
'project' => $projectName,
|
||||
'redirect' => $url
|
||||
|
|
|
@ -603,11 +603,9 @@ App::post('/v1/teams/:teamId/memberships')
|
|||
'hello' => $locale->getText("emails.invitation.hello"),
|
||||
'name' => $user->getAttribute('name'),
|
||||
'body' => $body,
|
||||
'redirect' => $url,
|
||||
'footer' => $locale->getText("emails.invitation.footer"),
|
||||
'thanks' => $locale->getText("emails.invitation.thanks"),
|
||||
'signature' => $locale->getText("emails.invitation.signature"),
|
||||
'project' => $projectName,
|
||||
'direction' => $locale->getText('settings.direction'),
|
||||
'bg-body' => '#f7f7f7',
|
||||
'bg-content' => '#ffffff',
|
||||
|
|
Loading…
Reference in a new issue