platform45 / nakedpassword

jQuery plugin to encourage strong user passwords

Home Page:http://www.nakedpassword.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

jQuery plugin to encourage strong user passwords

http://www.nakedpassword.com


Languages

Language:CSS 45.7%Language:HTML 36.1%Language:JavaScript 12.5%Language:Ruby 5.7%