Should authenticate by user username, not email

This commit is contained in:
Jason Denney
2014-03-09 22:48:35 -04:00
parent e2f442889e
commit 64e907b6f7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
module ApiTestHelpers
def api_submit_json(user, json_hash)
json_hash.merge({username: user.email, password: user.password})
json_hash.merge({username: user.username, password: user.password})
end
end