mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed account creation on first github login
This commit is contained in:
@@ -56,7 +56,7 @@ func OAuthLogin(ctx *middleware.Context) {
|
||||
|
||||
// create account if missing
|
||||
if err == m.ErrAccountNotFound {
|
||||
cmd := &m.CreateAccountCommand{
|
||||
cmd := m.CreateAccountCommand{
|
||||
Login: userInfo.Email,
|
||||
Email: userInfo.Email,
|
||||
Name: userInfo.Name,
|
||||
|
||||
Reference in New Issue
Block a user