feature plus ux rearrangements
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { redirect } from '@sveltejs/kit';
|
||||
import { clearSessionCookie } from '$lib/server/session';
|
||||
import { clearSessionCookie, clearLegacyCookies } from '$lib/server/session';
|
||||
|
||||
function signOut(event: { cookies: any }) {
|
||||
clearSessionCookie(event.cookies);
|
||||
event.cookies.delete('session', { path: '/' });
|
||||
event.cookies.delete('device_token', { path: '/' });
|
||||
clearLegacyCookies(event.cookies);
|
||||
}
|
||||
|
||||
export function load(event) {
|
||||
|
||||
Reference in New Issue
Block a user