mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
#17 Used external Alfresco Login component
This commit is contained in:
@@ -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({
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user