From 30572f8ffcfac19a25e1bf9ef49359cfdf171aae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Mu=CC=88cksch?= Date: Tue, 7 Oct 2014 12:04:19 +0200 Subject: [PATCH] Fix Request-Headers Bug --- js/factories/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/factories/user.js b/js/factories/user.js index 2e812c7..eed76eb 100644 --- a/js/factories/user.js +++ b/js/factories/user.js @@ -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") {