Fixed account creation on first github login

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

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,