Skip to content

Commit

Permalink
Use the right variable
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseto committed Jun 5, 2017
1 parent eed193a commit a470467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func LoginGET(c echo.Context) error {
FROM osf_osfuser
WHERE username = $1
OR EXISTS(SELECT * FROM osf_email WHERE osf_email.user_id = osf_osfuser.id AND osf_email.address = $1)
`, username).Scan(&verification)
`, uname).Scan(&verification)

if err != nil {
if err != sql.ErrNoRows {
Expand Down

0 comments on commit a470467

Please sign in to comment.