We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6b276d commit 462c199Copy full SHA for 462c199
packages/auth/demo/src/index.js
@@ -568,7 +568,9 @@ function onValidatePassword() {
568
},
569
error => {
570
// Disable the password input and hide the requirements since validation cannot be performed.
571
- $('#password-validation-password').prop('disabled', true);
+ if (error.code === `auth/unsupported-password-policy-schema-version`) {
572
+ $('#password-validation-password').prop('disabled', true);
573
+ }
574
$('#password-validation-requirements').hide();
575
onAuthError(error);
576
}
0 commit comments