Spaces:
Runtime error
Runtime error
Commit ·
4c78a11
1
Parent(s): 7fc7e09
Deploy files from GitHub repository
Browse files
services/external_authentication_service.go
CHANGED
|
@@ -44,6 +44,7 @@ func (s *GoogleAuthService) Authenticate(isAgree bool) {
|
|
| 44 |
|
| 45 |
createAccount := repositories.CreateAccount(models.Account{
|
| 46 |
Id: uuid.New(),
|
|
|
|
| 47 |
Email: email.(string),
|
| 48 |
IsEmailVerified: true,
|
| 49 |
})
|
|
|
|
| 44 |
|
| 45 |
createAccount := repositories.CreateAccount(models.Account{
|
| 46 |
Id: uuid.New(),
|
| 47 |
+
Username: payload.Claims["name"].(string),
|
| 48 |
Email: email.(string),
|
| 49 |
IsEmailVerified: true,
|
| 50 |
})
|