Fixed account creation on first github login

This commit is contained in:
Torkel Ödegaard committed 2015-01-01 22:27:19 +01:00
1 parent 29c9330965
commit ee443d91dd
2 files changed
+2 -2

No files matched your search

+1 -1
Submodule grafana updated: 7c72705bc5...318338f967.
+1 -1
View File
@@ -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,