fix: address PR review feedback on password suggestions
Remove redundant tests, rename requirement translations to suggestion for clearer i18n, simplify password input state and requirement display.
This commit is contained in:
41 files changed
+50
-94
No files matched your search
@@ -53,12 +53,4 @@ describe("comparePasswordsAsync should compare passwords correctly", () => {
|
||||
// Assert
|
||||
expect(result).toBe(false);
|
||||
});
|
||||
it("should return true for passwords with special characters like LoveHomarr<3", async () => {
|
||||
const password = "LoveHomarr<3";
|
||||
const hash = await hashPasswordAsync(password);
|
||||
|
||||
const result = await comparePasswordsAsync(password, hash);
|
||||
|
||||
expect(result).toBe(true);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user