refractor: login module (#283)
* Refractor components. * Shift language and footer component to shared module. * Replace mat-icons by font-awesome icons. * Add comments. Fixes #284
This commit is contained in:
@@ -1,30 +1,31 @@
|
||||
/** Angular Imports */
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
|
||||
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
/** Custom Modules */
|
||||
import { SharedModule } from '../shared';
|
||||
import { LoginRoutingModule } from './login-routing.module';
|
||||
import { LoginComponent } from './login.component';
|
||||
import { CoreModule } from '../core/core.module';
|
||||
import { LoginFormComponent } from './login-form/login-form.component';
|
||||
import { TwoFactorAuthenticationComponent } from './two-factor-authentication/two-factor-authentication.component';
|
||||
import { ResetPasswordComponent } from './reset-password/reset-password.component';
|
||||
|
||||
/** Custom Components */
|
||||
import { LoginComponent } from './login.component';
|
||||
import { LoginFormComponent } from './login-form/login-form.component';
|
||||
import { ResetPasswordComponent } from './reset-password/reset-password.component';
|
||||
import { TwoFactorAuthenticationComponent } from './two-factor-authentication/two-factor-authentication.component';
|
||||
|
||||
/**
|
||||
* Login Module
|
||||
*
|
||||
* All components related to user authentication should be declared here.
|
||||
*/
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
CoreModule,
|
||||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
TranslateModule,
|
||||
SharedModule,
|
||||
LoginRoutingModule
|
||||
],
|
||||
declarations: [
|
||||
LoginComponent,
|
||||
LoginFormComponent,
|
||||
TwoFactorAuthenticationComponent,
|
||||
ResetPasswordComponent
|
||||
ResetPasswordComponent,
|
||||
TwoFactorAuthenticationComponent
|
||||
]
|
||||
})
|
||||
export class LoginModule { }
|
||||
|
||||
Reference in New Issue
Block a user