Skip to content

Commit

Permalink
Release v1.2.2
Browse files Browse the repository at this point in the history
- Every rule can have associated error messages.
  • Loading branch information
ablanco committed Sep 11, 2014
1 parent 60b106e commit b927312
Show file tree
Hide file tree
Showing 12 changed files with 739 additions and 66 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 1.2.2

- Every rule can have associated error messages.

## 1.2.1

- Improve documentation.
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,17 +240,18 @@ Let's see the options of each section.

```
{
password_too_short: "The Password is too short",
email_as_password: "Do not use your email as your password",
same_as_username: "Your password cannot contain your username",
two_character_classes: "Use different character classes",
repeated_character: "Too many repetitions",
sequence_found: "Your password contains sequences"
wordLength: "Your password is too short",
wordNotEmail: "Do not use your email as your password",
wordSimilarToUsername: "Your password cannot contain your username",
wordTwoCharacterClasses: "Use different character classes",
wordRepetitions: "Too many repetitions",
wordSequences: "Your password contains sequences"
}
```

An object containing error messages. These can be overwritten for language
purposes, and extra messages can also be added for your custom rules.
purposes, and extra messages can also be added for other rules, existing or
custom. Use the name of the rule as key.

* __verdicts__:

Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "pwstrength-bootstrap",
"version": "1.2.1",
"version": "1.2.2",
"homepage": "https://github.com/ablanco/jquery.pwstrength.bootstrap",
"authors": [
"Alejandro Blanco <alejandro.b.e@gmail.com>"
],
"description": "jQuery plugin for Twitter Bootstrap that provides rulesets for visualy displaying the quality of a users typed in password.",
"main": "dist/pwstrength-bootstrap-1.2.1.js",
"main": "dist/pwstrength-bootstrap-1.2.2.js",
"dependencies": {
"jquery": ">=1.7.0",
"bootstrap": ">=2.0.0"
Expand Down
Loading

0 comments on commit b927312

Please sign in to comment.