Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
odenypeter committed Nov 13, 2019
1 parent f1aaf03 commit 3305ffe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions static/js/auth/user_register.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3305ffe

Please sign in to comment.