Skip to content

Commit

Permalink
fix conflicts with main
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoMolinaro committed Feb 14, 2024
1 parent 47f1b84 commit 2b33397
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import { SUGGESTION_MODULE_PATH } from './suggestions-page/suggestions-page-rout
import { MenuResolver } from './menu.resolver';
import { ThemedPageErrorComponent } from './page-error/themed-page-error.component';
import { NOTIFICATIONS_MODULE_PATH } from './admin/admin-routing-paths';
import { ForgotPasswordCheckGuard } from './core/rest-property/forgot-password-check-guard.guard';

@NgModule({
imports: [
Expand Down Expand Up @@ -96,7 +97,7 @@ import { NOTIFICATIONS_MODULE_PATH } from './admin/admin-routing-paths';
path: FORGOT_PASSWORD_PATH,
loadChildren: () => import('./forgot-password/forgot-password.module')
.then((m) => m.ForgotPasswordModule),
canActivate: [EndUserAgreementCurrentUserGuard]
canActivate: [EndUserAgreementCurrentUserGuard, ForgotPasswordCheckGuard]
},
{
path: COMMUNITY_MODULE_PATH,
Expand Down
3 changes: 2 additions & 1 deletion src/app/core/data/feature-authorization/feature-id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ export enum FeatureID {
CanRegisterDOI = 'canRegisterDOI',
CanSubscribe = 'canSubscribeDso',
CoarLdnEnabled = 'coarLdnEnabled',
CanSeeQA = 'canSeeQA'
CanSeeQA = 'canSeeQA',
EPersonForgotPassword = 'epersonForgotPassword'
}

0 comments on commit 2b33397

Please sign in to comment.