Skip to content

Commit

Permalink
Set the user language when adding the footer
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Jan 7, 2021
1 parent ae2ca5b commit 04aebdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/settings/lib/Mailer/NewUserMailHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public function generateTemplate(IUser $user, $generatePasswordResetToken = fals
$l10n->t('Install Client'),
$this->config->getSystemValue('customclient_desktop', 'https://nextcloud.com/install/#install-clients')
);
$emailTemplate->addFooter();
$emailTemplate->addFooter('', $lang);

return $emailTemplate;
}
Expand Down

0 comments on commit 04aebdd

Please sign in to comment.