[password-resets] Drop the white space



commit 875fcef9fd91489461c64d3c82cdcbdadc2e7909
Author: Andrea Veri <averi redhat com>
Date:   Wed Sep 1 17:40:57 2021 +0200

    Drop the white space

 static/js/password-strength.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/static/js/password-strength.js b/static/js/password-strength.js
index 07d3ef6..30f19b0 100644
--- a/static/js/password-strength.js
+++ b/static/js/password-strength.js
@@ -50,7 +50,7 @@ jQuery(() => {
 
     hasNumbers = /\d/.test(inputValue);
 
-    hasSpecials = /[` !@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/.test(inputValue);
+    hasSpecials = /[`!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/.test(inputValue);
 
     if (hasMinLength && hasUppercase && hasNumbers && hasSpecials) {
       jQuery(this).addClass('valid').removeClass('invalid');


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]