update ui and other frontend updates
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { redirect } from '@sveltejs/kit';
|
||||
import { clearSession } from '$lib/server/auth';
|
||||
|
||||
export function load(event) {
|
||||
clearSession(event);
|
||||
throw redirect(303, '/');
|
||||
}
|
||||
|
||||
export const actions = {
|
||||
default: (event) => {
|
||||
clearSession(event);
|
||||
throw redirect(303, '/');
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user