Ignore auth on login API call.

This commit is contained in:
Alexis Lahouze 2017-06-11 09:18:19 +02:00
parent e494967888
commit 23d1189591
1 changed files with 1 additions and 0 deletions

View File

@ -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
}