diff --git a/src/lib/user.ts b/src/lib/user.ts index 7636fb3..8f83421 100644 --- a/src/lib/user.ts +++ b/src/lib/user.ts @@ -20,6 +20,9 @@ export const user = { return redirect(303, "/"); }, + /** + * @todo Get communication with server working and setup a key system so that the frontend can listen for a specific key from the backend so that nobody can poach off of login events. + */ async awaitAuthCallback(): Promise<{ authToken: string; refreshToken: string;