aboutsummaryrefslogtreecommitdiff
path: root/src/routes/authentication
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-09-13 01:48:48 -0700
committerFuwn <[email protected]>2023-09-13 01:48:48 -0700
commite144c82c717793567627cbe478d34fe9519f45d5 (patch)
tree1987bf6a38081a2bab908e6bf56aa83ed35008be /src/routes/authentication
parentrefactor(mangadex): move to api (diff)
downloaddue.moe-e144c82c717793567627cbe478d34fe9519f45d5.tar.xz
due.moe-e144c82c717793567627cbe478d34fe9519f45d5.zip
refactor(auth): move to api
Diffstat (limited to 'src/routes/authentication')
-rw-r--r--src/routes/authentication/log-out/+server.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/routes/authentication/log-out/+server.ts b/src/routes/authentication/log-out/+server.ts
deleted file mode 100644
index 22ef49d8..00000000
--- a/src/routes/authentication/log-out/+server.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { redirect } from '@sveltejs/kit';
-
-export const GET = ({ cookies }) => {
- cookies.delete('user', { path: '/' });
-
- throw redirect(303, '/');
-};