mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	refactor(csrf): export generateToken utility
This commit is contained in:
		
							parent
							
								
									e3d89ce2a5
								
							
						
					
					
						commit
						6dd8ab31d5
					
				@ -12,4 +12,4 @@ const doubleCsrfUtilities = doubleCsrf({
 | 
				
			|||||||
    cookieName: "_csrf"
 | 
					    cookieName: "_csrf"
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export const { doubleCsrfProtection } = doubleCsrfUtilities;
 | 
					export const { generateToken, doubleCsrfProtection } = doubleCsrfUtilities;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user