feat(auth): auth pages added

This commit is contained in:
Dmitry Nehaychik 2017-08-02 17:27:19 +03:00
parent 210c6f2355
commit 75dd743244
6 changed files with 73 additions and 4 deletions

View file

@ -8,7 +8,7 @@ import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { HttpModule } from '@angular/http';
import { NgaAuthModule, NgaDummyAuthProvider } from '@akveo/nga-auth';
import { CoreModule } from './@core/core.module';
import { AppComponent } from './app.component';
@ -25,6 +25,20 @@ import { ThemeModule } from './@theme/theme.module';
CoreModule,
ThemeModule.forRoot(),
CoreModule.forRoot(),
NgaAuthModule,
NgaAuthModule.forRoot({
providers: {
email: {
service: NgaDummyAuthProvider,
config: {
delay: 1000,
login: {
rememberMe: true,
}
},
},
}
}),
],
bootstrap: [AppComponent],
providers: [