1
0
Fork 0
mirror of synced 2024-06-28 19:20:25 +12:00

fix: variable names

This commit is contained in:
Christy Jacob 2023-08-30 17:54:26 -04:00
parent 05615d1449
commit 74012158b3
2 changed files with 1 additions and 3 deletions

View file

@ -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

View file

@ -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',