From 3305ffe7988b1637b28177ccee203b359cde722a Mon Sep 17 00:00:00 2001 From: Peter Odeny Date: Wed, 13 Nov 2019 15:20:02 +0300 Subject: [PATCH] fix typos --- static/js/auth/user_register.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/auth/user_register.js b/static/js/auth/user_register.js index 518c7ff8..0f4de175 100644 --- a/static/js/auth/user_register.js +++ b/static/js/auth/user_register.js @@ -107,12 +107,12 @@ $(document).ready(function() { return 'Password too short'; } - //length is ok, lets continue. + // length is ok, continue. - //if length is 8 characters or more, increase strength value + // if length is 8 characters or more, increase strength value if (password.length > 7) strength += 1; - //if password contains both lower and uppercase characters, increase strength value + // if password contains both lower and uppercase characters, increase strength value if (password.match(/([a-z].*[A-Z])|([A-Z].*[a-z])/)) strength += 1; //if it has numbers and characters, increase strength value