mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-11-03 18:53:17 -05:00 
			
		
		
		
	
		
			
	
	
		
			10 lines
		
	
	
		
			219 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
		
		
			
		
	
	
			10 lines
		
	
	
		
			219 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| 
								 | 
							
								export default defineNuxtPlugin({
							 | 
						||
| 
								 | 
							
								  async setup() {
							 | 
						||
| 
								 | 
							
								    const auth = useAuthBackend();
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    console.debug("Initializing auth plugin");
							 | 
						||
| 
								 | 
							
								    await auth.getSession();
							 | 
						||
| 
								 | 
							
								    console.debug("Auth plugin initialized");
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								});
							 |