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

@ -1 +1 @@
Subproject commit 7c72705bc5418ddf7030b3b50e86b236bd07e1fc
Subproject commit 318338f967a4c89cceaa1d1ca7b6a8e6de383f9f

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,