Skip to content

Commit

Permalink
Merge pull request #56 from tobiasmuecksch/master
Browse files Browse the repository at this point in the history
Fix Request-Headers Bug
  • Loading branch information
tobiasmuecksch committed Oct 7, 2014
2 parents 209e470 + ecacd3e commit 0c497b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/factories/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ app.factory("userFactory", function ($http, settingsFactory, notificationFactory
method: 'GET',
url: settingsFactory.backendUrl + 'login',
headers: {
username: nameOrMail,
passwordHash: passwordHash
Username: nameOrMail,
Passwordhash: passwordHash
}
}).success(_.bind(function (data, status, headers, config) {
if (data != "false") {
Expand Down

0 comments on commit 0c497b6

Please sign in to comment.