Fix: Return access token

This commit is contained in:
Daniel Hougaard
2024-03-12 15:42:54 +01:00
parent 0bd3f32c6e
commit eace4f1bdc

View File

@@ -65,6 +65,8 @@ export const registerLoginRouter = async (server: FastifyZodProvider) => {
sameSite: "strict",
secure: cfg.HTTPS_ENABLED
});
return { token: tokens.access };
}
});