mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 07:21:20 +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…
Reference in a new issue