mirror of
				https://github.com/bartvdbraak/omnidash.git
				synced 2025-10-31 16:39:12 +00:00 
			
		
		
		
	fix: pb on logout
This commit is contained in:
		
							parent
							
								
									d383fcc949
								
							
						
					
					
						commit
						0d5ce67358
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1,6 +1,6 @@ | |||
| import { redirect } from '@sveltejs/kit'; | ||||
| 
 | ||||
| export const GET = ({ locals }: { locals: App.Locals }) => { | ||||
| 	locals.pocketBase.authStore.clear(); | ||||
| 	locals.pb.authStore.clear(); | ||||
| 	throw redirect(303, '/'); | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue