diff --git a/app/Controllers/Http/AuthController.js b/app/Controllers/Http/AuthController.js index ebe2dda..88be1a6 100644 --- a/app/Controllers/Http/AuthController.js +++ b/app/Controllers/Http/AuthController.js @@ -20,7 +20,9 @@ class AuthController { await userInstance.save() - return response.json(userInstance) + const { email } = userInstance; + + return response.json({ email }) } async profile({ request, response, auth }) {