|
|
|
@ -12,13 +12,11 @@ import { RegisterComponent } from './components/register/register.component';
|
|
|
|
|
import { AccountConfigOptions } from './models/config-options';
|
|
|
|
|
import { ACCOUNT_CONFIG_OPTIONS } from './tokens/config-options.token';
|
|
|
|
|
import { accountConfigOptionsFactory } from './utils/factory-utils';
|
|
|
|
|
import { AuthenticationFlowGuard } from './guards/authentication-flow.guard';
|
|
|
|
|
import { ForgotPasswordComponent } from './components/forgot-password/forgot-password.component';
|
|
|
|
|
import { ResetPasswordComponent } from './components/reset-password/reset-password.component';
|
|
|
|
|
import { RE_LOGIN_CONFIRMATION_TOKEN } from './tokens';
|
|
|
|
|
import { UiExtensionsModule } from '@abp/ng.theme.shared/extensions';
|
|
|
|
|
import { ACCOUNT_EDIT_FORM_PROP_CONTRIBUTORS } from './tokens/extensions.token';
|
|
|
|
|
import { AccountExtensionsGuard } from './guards/extensions.guard';
|
|
|
|
|
import { PersonalSettingsHalfRowComponent } from './components/personal-settings/personal-settings-half-row.component';
|
|
|
|
|
|
|
|
|
|
const declarations = [
|
|
|
|
@ -49,7 +47,6 @@ export class AccountModule {
|
|
|
|
|
return {
|
|
|
|
|
ngModule: AccountModule,
|
|
|
|
|
providers: [
|
|
|
|
|
AuthenticationFlowGuard,
|
|
|
|
|
{ provide: ACCOUNT_CONFIG_OPTIONS, useValue: options },
|
|
|
|
|
{
|
|
|
|
|
provide: 'ACCOUNT_OPTIONS',
|
|
|
|
@ -64,7 +61,6 @@ export class AccountModule {
|
|
|
|
|
provide: ACCOUNT_EDIT_FORM_PROP_CONTRIBUTORS,
|
|
|
|
|
useValue: options.editFormPropContributors,
|
|
|
|
|
},
|
|
|
|
|
AccountExtensionsGuard,
|
|
|
|
|
],
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|