Password breach check

This commit is contained in:
Joel Biddle
2023-08-22 16:49:17 +10:00
parent fbeb210965
commit 0eb21919fb
6 changed files with 73 additions and 9 deletions
@@ -42,6 +42,7 @@ type Errors = {
number?: string,
specialChar?: string,
repeatedChar?: string,
breachedPassword?: string
};
/**
@@ -99,7 +100,7 @@ export const UserInfoSSOStep = ({
setOrganizationNameError(false);
}
errorCheck = checkPassword({
errorCheck = await checkPassword({
password,
commonPasswords,
setErrors