mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
change demo and add information about auth in the core reame
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user