feat: forget password steps and pages added

This commit is contained in:
2025-08-08 00:46:05 +03:30
parent 9191ea31fa
commit a2afdddf04
14 changed files with 665 additions and 4 deletions

View File

@@ -0,0 +1 @@
export const containsNumber = (value: string) => /\d/.test(value);

View File

@@ -0,0 +1 @@
export const containsSymbol = (value: string) => /[!@#$%&*\^]/.test(value);

View File

@@ -0,0 +1,5 @@
export const hasUpperAndLowerLetter = (value: string) => {
const hasUpper = /[A-Z]/.test(value);
const hasLower = /[a-z]/.test(value);
return hasUpper && hasLower;
};

View File

@@ -0,0 +1 @@
export const least8Chars = (value: string) => value.length >= 8;