mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 20:19:26 +01:00
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user