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

@@ -144,7 +144,6 @@ class DocumentListDemo implements OnInit {
authenticated: boolean;
ecmHost: string = 'http://devproducts-platform.alfresco.me';
// ecmHost: string = 'http://127.0.0.1:8080';
token: string;
@@ -190,7 +189,7 @@ class DocumentListDemo implements OnInit {
}
login() {
this.authService.login('admin', 'admin', ['ECM']).subscribe(
this.authService.login('admin', 'admin', 'ECM').subscribe(
token => {
console.log(token);
this.token = token;