mirror of
https://github.com/grafana/grafana.git
synced 2025-02-09 06:56:07 -06:00
Fixed account creation on first github login
This commit is contained in:
parent
29c9330965
commit
ee443d91dd
2
grafana
2
grafana
@ -1 +1 @@
|
||||
Subproject commit 7c72705bc5418ddf7030b3b50e86b236bd07e1fc
|
||||
Subproject commit 318338f967a4c89cceaa1d1ca7b6a8e6de383f9f
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user