#17 Used external Alfresco Login component

This commit is contained in:
mauriziovitale84
2016-04-22 11:27:14 +01:00
parent 5fc8ea1773
commit 3b9de9d9de
6 changed files with 13 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
import {Component} from 'angular2/core';
import {Router, ROUTER_DIRECTIVES} from 'angular2/router';
import {FORM_DIRECTIVES, ControlGroup, FormBuilder, Validators} from 'angular2/common';
import {Authentication} from '../../services/authentication';
import {Authentication} from 'ng2-alfresco-login/ng2-alfresco-login';
declare let componentHandler;
@Component({

View File

@@ -1,6 +1,6 @@
import { ElementRef, DynamicComponentLoader, Directive, Attribute } from 'angular2/core';
import { Router, RouterOutlet, ComponentInstruction } from 'angular2/router';
import {Authentication} from '../../services/authentication';
import {Authentication} from 'ng2-alfresco-login/ng2-alfresco-login';
@Directive({selector: 'auth-router-outlet'})
export class AuthRouterOutlet extends RouterOutlet {