#17 Renaming login component files

This commit is contained in:
mauriziovitale84
2016-04-28 14:10:19 +01:00
parent fb20334426
commit a1c79805f0
2 changed files with 6 additions and 6 deletions

View File

@@ -16,7 +16,7 @@
*/
import { ElementRef, DynamicComponentLoader, Directive, Attribute } from 'angular2/core';
import { Router, RouterOutlet, ComponentInstruction } from 'angular2/router';
import {Authentication} from 'ng2-alfresco-login/ng2-alfresco-login';
import {AlfrescoAuthenticationService} from 'ng2-alfresco-login/ng2-alfresco-login';
@Directive({selector: 'auth-router-outlet'})
export class AuthRouterOutlet extends RouterOutlet {
@@ -27,7 +27,7 @@ export class AuthRouterOutlet extends RouterOutlet {
constructor(
_elementRef: ElementRef, _loader: DynamicComponentLoader,
_parentRouter: Router, @Attribute('name') nameAttr: string,
private authentication: Authentication
private authentication: AlfrescoAuthenticationService
) {
super(_elementRef, _loader, _parentRouter, nameAttr);