Skip to content

Commit e400515

Browse files
committed
Add comment about min length 6 being enforced even with no policy
1 parent 0a2a12d commit e400515

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/auth/test/integration/flows/password_policy.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ describe('Integration test: password validation', () => {
6666
});
6767

6868
it('considers invalid passwords invalid against the policy configured for the project', async () => {
69+
// Even if there is no policy configured for the project, a minimum length of 6 will always be enforced.
6970
expect((await validatePassword(auth, INVALID_PASSWORD)).isValid).to.be
7071
.false;
7172
});

0 commit comments

Comments
 (0)