Compare commits

..

No commits in common. "5ff6f77dafa6a3a67615fae6d228c31cb8eac6b9" and "ab0e41f73be5ad281d5909d6d8baa4dd882c7cc3" have entirely different histories.

View File

@ -126,7 +126,6 @@ export class Mailer {
*/
public async sendWelcomeMail(to_address: string, token: string, locale: string = "en") {
await i18next.changeLanguage(locale);
token = Buffer.from(token).toString("base64");
const replacements = {
recipient_mail: to_address,
@ -160,7 +159,6 @@ export class Mailer {
*/
public async sendSelfserviceForgottenMail(to_address: string, token: string, locale: string = "en") {
await i18next.changeLanguage(locale);
token = Buffer.from(token).toString("base64");
const replacements = {
recipient_mail: to_address,