Skip to content

Commit c2fdaa8

Browse files
committed
feat(usagers): finalisation de la maquette
1 parent b57fa2b commit c2fdaa8

File tree

8 files changed

+307
-614
lines changed

8 files changed

+307
-614
lines changed

packages/backend/src/modules/stats/controllers/stats.public.controller.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import { UsersModule } from "../../users/users.module";
1919
describe("Stats Public Controller", () => {
2020
let controller: StatsPublicController;
2121
let context: AppTestContext;
22-
2322
afterAll(async () => {
2423
jest.useRealTimers();
2524
await AppTestHelper.tearDownTestApp(context);

packages/portail-usagers/src/app/modules/shared/shared.module.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import {
1616
DsfrFormFieldsetModule,
1717
DsfrFormInputModule,
1818
DsfrFormPasswordModule,
19+
DsfrHeaderModule,
1920
DsfrLinkModule,
2021
DsfrSkiplinksModule,
2122
} from "@edugouvfr/ngx-dsfr";
@@ -39,6 +40,7 @@ import {
3940
DsfrFormPasswordModule,
4041
DsfrButtonModule,
4142
DsfrLinkModule,
43+
DsfrHeaderModule,
4244
],
4345
providers: [SeoService],
4446
imports: [
@@ -58,6 +60,7 @@ import {
5860
DsfrFormPasswordModule,
5961
DsfrButtonModule,
6062
DsfrLinkModule,
63+
DsfrHeaderModule,
6164
],
6265
})
6366
export class SharedModule {

packages/portail-usagers/src/app/modules/usager-auth/usager-login/password-validator.service.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { AbstractControl, ValidationErrors, ValidatorFn } from "@angular/forms";
33
export class PasswordValidator {
44
public static patternValidator(
55
regex: RegExp,
6-
error: ValidationErrors,
6+
error: ValidationErrors
77
): ValidatorFn {
88
// eslint-disable-next-line @typescript-eslint/no-explicit-any
99
return (control: AbstractControl): { [key: string]: any } | null => {
@@ -15,6 +15,10 @@ export class PasswordValidator {
1515
};
1616
}
1717

18+
public onClick(event: Event) {
19+
console.log(event);
20+
}
21+
1822
public static fieldsNotEqualsValidator({
1923
ctrl1Name,
2024
ctrl2Name,

0 commit comments

Comments
 (0)