This website requires JavaScript.
Explore
Help
Sign In
Upstream
/
WordPress
Watch
1
Star
0
Fork
0
You've already forked WordPress
mirror of
https://github.com/WordPress/WordPress.git
synced
2024-11-06 10:50:56 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
21767e446e
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 18:09:10 +02:00
function
passwordStrength
(
a
,
b
,
c
)
{
if
(
a
!=
c
&&
c
.
length
>
0
)
return
5
;
var
d
=
zxcvbn
(
a
,
[
b
]
)
;
return
d
.
score
}
Reference in New Issue
Copy Permalink