• Stars
    star
    307
  • Rank 136,109 (Top 3 %)
  • Language
    CSS
  • Created almost 15 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

jQuery plugin to encourage strong user passwords

Naked Passwordยถ โ†‘

Simple jQuery plugin to improve security on passwords.

Usageยถ โ†‘

Naked password is extremely easy to use. All thats needed is for you to attach nakedPassword(); to one or all of your password fields.

$("input:password").nakedPassword();

Naked password comes with two default sets of images (male and female). They are set using either an m or a f in front of the image name. These can be switched using the โ€˜sexโ€™ variable. It defaults to

$("input:password").nakedPassword({sex: "f"});

$("input:password").nakedPassword({sex: "m"});

Naked password assumes that the images are uploaded in a publicly accessible folder called โ€œimages/โ€. You can overwrite the images path as follows:

$("input:password").nakedPassword({path: "/new_image_path/"});

And thats it! Feel free to fork a copy and push any changes to us, and weโ€™ll gladly implement them.

Thanksยถ โ†‘

* michaelficarra