Skip to content

Commit

Permalink
Merge branch 'release/0.3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseto committed Jun 17, 2015
2 parents 530242b + 97cd7a3 commit 537e683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fakecas.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func serviceValidate(w http.ResponseWriter, r *http.Request) {
c := session.DB(*databasename).C("user")

result := User{}
err = c.Find(bson.M{"username": r.FormValue("ticket")}).One(&result)
err = c.Find(bson.M{"emails": r.FormValue("ticket")}).One(&result)

if err != nil {
fmt.Println("User", r.FormValue("ticket"), "not found.")
Expand Down

0 comments on commit 537e683

Please sign in to comment.