From c52d0203577dfc414367f4889464c628692b19c3 Mon Sep 17 00:00:00 2001 From: folland87 Date: Thu, 28 Mar 2024 16:18:28 +0100 Subject: [PATCH] fix all perterns --- server/src/openapi/api.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/openapi/api.yml b/server/src/openapi/api.yml index 6eb7e32..b18a1b2 100644 --- a/server/src/openapi/api.yml +++ b/server/src/openapi/api.yml @@ -711,10 +711,10 @@ paths: properties: newPassword: type: string - pattern: '^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&:_])[A-Za-z\d@$!%*#?&:_]{8,}$' + pattern: '^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&:_.])[A-Za-z\d@$!%*#?&:_.]{8,}$' currentPassword: type: string - pattern: '^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&:_])[A-Za-z\d@$!%*#?&:_]{8,}$' + pattern: '^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&:_.])[A-Za-z\d@$!%*#?&:_.]{8,}$' responses: 200: description: Success @@ -959,7 +959,7 @@ components: properties: password: type: string - pattern: '^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&:_])[A-Za-z\d@$!%*#?&:_]{8,}$' + pattern: '^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&:_.])[A-Za-z\d@$!%*#?&:_.]{8,}$' example: Azertyui!87 description: Minimum eight characters, at least one letter, one number and one special character email: