bookshelf-secure-password
Advanced tools
Comparing version 4.0.0 to 5.0.0
@@ -21,3 +21,3 @@ 'use strict' | ||
*/ | ||
Bookshelf.plugin('virtuals') | ||
Bookshelf.plugin('bookshelf-virtuals-plugin') | ||
@@ -24,0 +24,0 @@ /** |
{ | ||
"name": "bookshelf-secure-password", | ||
"version": "4.0.0", | ||
"version": "5.0.0", | ||
"description": "A Bookshelf.js plugin for handling secure passwords", | ||
@@ -37,2 +37,3 @@ "main": "lib/secure-password.js", | ||
"bookshelf": "^0.15.1", | ||
"bookshelf-virtuals-plugin": "^0.1.1", | ||
"chai": "^4.2.0", | ||
@@ -39,0 +40,0 @@ "coveralls": "^3.0.6", |
@@ -118,3 +118,3 @@ # bookshelf-secure-password | ||
* BCrypt requires that passwords are 72 characters maximum (it ignores characters after 72). | ||
* This library enables the built-in `virtuals` plugin on Bookshelf for the virtual `password` field. | ||
* This library enables the `bookshelf-virtuals-plugin` plugin on Bookshelf for the virtual `password` field. | ||
* Passing a `null` value to the password will clear the `password_digest`. | ||
@@ -121,0 +121,0 @@ * Passing `undefined` or a zero-length string to the password will leave the `password_digest` as-is |
19293
9