This website requires JavaScript.
Explore
Help
Sign In
WordPress-C
/
WordPress
mirror of
https://github.com/WordPress/WordPress.git
Watch
1
Star
0
Fork
You've already forked WordPress
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
fe40604971
WordPress
/
wp-admin
/
js
/
password-strength-meter.min.js
1 line
97 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Use Dropbox's zxcvbn library for our password meter. The library was added in [25156]. props duck_. see #21737. Built from https://develop.svn.wordpress.org/trunk@25157 git-svn-id: http://core.svn.wordpress.org/trunk@25136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-28 12:09:10 -04:00
function
passwordStrength
(
a
,
b
,
c
)
{
if
(
a
!=
c
&&
c
.
length
>
0
)
return
5
;
var
d
=
zxcvbn
(
a
,
[
b
]
)
;
return
d
.
score
}