Fixes FINERACT-726

This commit is contained in:
Gerhard Janse van Rensburg 2020-01-22 12:54:19 +02:00 committed by Michael Vorburger ⛑️
parent 652b7e86f3
commit 2913deef49
2 changed files with 6 additions and 4 deletions

View File

@ -66,9 +66,9 @@
.success(getUserDetails)
.error(onLoginFailure);
} else {
httpService.post(apiVer + "/authentication?username=" + credentials.username + "&password=" + credentials.password)
.success(onLoginSuccess)
.error(onLoginFailure);
httpService.post(apiVer + "/authentication", { "username": credentials.username, "password": credentials.password})
.success(onLoginSuccess)
.error(onLoginFailure);
}
};

4
package-lock.json generated
View File

@ -663,6 +663,7 @@
"resolved": "https://registry.npmjs.org/boom/-/boom-0.4.2.tgz",
"integrity": "sha1-emNune1O/O+xnO9JR6PGffrukRs=",
"dev": true,
"optional": true,
"requires": {
"hoek": "0.9.x"
}
@ -3493,7 +3494,8 @@
"version": "0.9.1",
"resolved": "https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz",
"integrity": "sha1-PTIkYrrfB3Fup+uFuviAec3c5QU=",
"dev": true
"dev": true,
"optional": true
},
"hooker": {
"version": "0.2.3",