change demo and add information about auth in the core reame

This commit is contained in:
Eugenio Romano
2016-08-16 15:14:07 +01:00
parent 1e8440c0a0
commit 8698395bd4
7 changed files with 76 additions and 13 deletions

View File

@@ -81,7 +81,7 @@ class SearchDemo implements OnInit {
}
login() {
this.authService.login('admin', 'admin', ['ECM']).subscribe(
this.authService.login('admin', 'admin', 'ECM').subscribe(
token => {
console.log(token);
this.token = token;