Account stuff

This commit is contained in:
Torkel Ödegaard
2014-09-20 12:13:46 +02:00
parent cdabe50320
commit 40ff57d8c4
10 changed files with 42 additions and 24 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ func (self *HttpServer) loginPost(c *gin.Context) {
return
}
account, err := self.store.GetUserAccountLogin(loginModel.Email)
account, err := self.store.GetAccountByLogin(loginModel.Email)
if err != nil {
c.JSON(400, gin.H{"status": "some error"})
}