mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#17 Renaming login component files
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user