Fix: Return access token

This commit is contained in:
Daniel Hougaard
2024-03-17 18:49:29 +01:00
parent 0bd3f32c6e
commit eace4f1bdc
@@ -65,6 +65,8 @@ export const registerLoginRouter = async (server: FastifyZodProvider) => {
sameSite: "strict", sameSite: "strict",
secure: cfg.HTTPS_ENABLED secure: cfg.HTTPS_ENABLED
}); });
return { token: tokens.access };
} }
}); });