From 23d1189591cf1aebf9cc21377e4f57740e29148c Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sun, 11 Jun 2017 09:18:19 +0200 Subject: [PATCH] Ignore auth on login API call. --- src/login/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/login/index.js b/src/login/index.js index 8a85729..cb64dc5 100644 --- a/src/login/index.js +++ b/src/login/index.js @@ -126,6 +126,7 @@ var loginModule = angular.module('accountant.login', [ var authdata = base64.encode(email + ':' + password); return $http.post('/api/user/login', {}, { + ignoreAuthModule: true, headers: { 'authorization': 'Basic ' + authdata }