From 66302e769e38127dc8f850b31080c26fd2f30c15 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Thu, 19 Aug 2021 20:03:20 +0200 Subject: [PATCH] Testing Oauth --- app/Controllers/Http/AuthController.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Controllers/Http/AuthController.ts b/app/Controllers/Http/AuthController.ts index ba2084a..9dad3e7 100755 --- a/app/Controllers/Http/AuthController.ts +++ b/app/Controllers/Http/AuthController.ts @@ -130,12 +130,12 @@ export default class AuthController { if (redirected_url) { return response.send({ redirect: redirected_url, - user, - session + user }) } else { return response.status(200).send({ - user: user + user: user, + redirected_url }) } }