diff options
Diffstat (limited to 'src/routes/api/authentication')
| -rw-r--r-- | src/routes/api/authentication/log-out/+server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/api/authentication/log-out/+server.ts b/src/routes/api/authentication/log-out/+server.ts index 26b5dd2c..305c846f 100644 --- a/src/routes/api/authentication/log-out/+server.ts +++ b/src/routes/api/authentication/log-out/+server.ts @@ -11,5 +11,5 @@ export const GET = ({ cookies }) => { secure: false }); - redirect(303, root('/')); + throw redirect(303, root('/')); }; |