aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/logout
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-12-15 13:34:50 -0800
committerAdam Soltys <[email protected]>2022-12-15 13:34:50 -0800
commitb3b79373ee50c59131689c4e1d89bb5329996ae9 (patch)
tree2537c4c749317be14725079f42eeeb176ed21920 /src/routes/(app)/logout
parent1c59f65e2619617220ada2e2e91ffc9f2f7d2b5d (diff)
downloadcoinos-ui-b3b79373ee50c59131689c4e1d89bb5329996ae9.tar.gz
coinos-ui-b3b79373ee50c59131689c4e1d89bb5329996ae9.zip
show users involved in voucher creation/redemption
Diffstat (limited to 'src/routes/(app)/logout')
-rw-r--r--src/routes/(app)/logout/+page.server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/logout/+page.server.js b/src/routes/(app)/logout/+page.server.js
index 779b760f..2dabc9d4 100644
--- a/src/routes/(app)/logout/+page.server.js
+++ b/src/routes/(app)/logout/+page.server.js
@@ -8,5 +8,5 @@ const opts = {
export async function load({ cookies }) {
cookies.set('username', '', opts);
cookies.set('token', '', opts);
- throw redirect(307, '/');
+ throw redirect(307, '/login');
}