1
0
Fork 0
mirror of synced 2024-07-01 04:30:59 +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', 'bg-content' => '#ffffff',
'text-content' => '#000000', 'text-content' => '#000000',
/* {{user}} ,{{team}}, {{project}} and {{redirect}} are required in the templates */ /* {{user}} ,{{team}}, {{project}} and {{redirect}} are required in the templates */
'user' => $user->getAttribute('name'), 'user' => $profile->getAttribute('name'),
'team' => '', 'team' => '',
'project' => $projectName, 'project' => $projectName,
'redirect' => $url 'redirect' => $url

View file

@ -603,11 +603,9 @@ App::post('/v1/teams/:teamId/memberships')
'hello' => $locale->getText("emails.invitation.hello"), 'hello' => $locale->getText("emails.invitation.hello"),
'name' => $user->getAttribute('name'), 'name' => $user->getAttribute('name'),
'body' => $body, 'body' => $body,
'redirect' => $url,
'footer' => $locale->getText("emails.invitation.footer"), 'footer' => $locale->getText("emails.invitation.footer"),
'thanks' => $locale->getText("emails.invitation.thanks"), 'thanks' => $locale->getText("emails.invitation.thanks"),
'signature' => $locale->getText("emails.invitation.signature"), 'signature' => $locale->getText("emails.invitation.signature"),
'project' => $projectName,
'direction' => $locale->getText('settings.direction'), 'direction' => $locale->getText('settings.direction'),
'bg-body' => '#f7f7f7', 'bg-body' => '#f7f7f7',
'bg-content' => '#ffffff', 'bg-content' => '#ffffff',