mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
feat(auth): auth pages added
This commit is contained in:
parent
210c6f2355
commit
75dd743244
6 changed files with 73 additions and 4 deletions
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue