Ignore auth on login API call.
This commit is contained in:
parent
e494967888
commit
23d1189591
@ -126,6 +126,7 @@ var loginModule = angular.module('accountant.login', [
|
|||||||
var authdata = base64.encode(email + ':' + password);
|
var authdata = base64.encode(email + ':' + password);
|
||||||
|
|
||||||
return $http.post('/api/user/login', {}, {
|
return $http.post('/api/user/login', {}, {
|
||||||
|
ignoreAuthModule: true,
|
||||||
headers: {
|
headers: {
|
||||||
'authorization': 'Basic ' + authdata
|
'authorization': 'Basic ' + authdata
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user