Now base64-encoding the selfservice tokens👀
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/pr Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/pr Build is passing
				
			ref #11
This commit is contained in:
		@@ -126,6 +126,7 @@ 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,
 | 
			
		||||
@@ -159,6 +160,7 @@ 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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user