diff --git a/app/Controllers/Http/AuthController.ts b/app/Controllers/Http/AuthController.ts index a7339bd..9a45dae 100755 --- a/app/Controllers/Http/AuthController.ts +++ b/app/Controllers/Http/AuthController.ts @@ -96,7 +96,7 @@ export default class AuthController { const githubUser = await github.user() const user = await this.createUser(githubUser) await auth.use('web').login(user, true) - return response.header('Access-Control-Allow-Origin', '*').status(200).send({ + return response.status(200).send({ user: user }) }