mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Should authenticate by user username, not email
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user