feathers-authentication-management
Advanced tools
Comparing version 1.0.0 to 1.0.1
# Change Log | ||
## [v1.0.0](https://github.com/feathersjs/feathers-authentication-management/tree/v1.0.0) (2017-09-17) | ||
[Full Changelog](https://github.com/feathersjs/feathers-authentication-management/compare/v0.7.0...v1.0.0) | ||
**Implemented enhancements:** | ||
- Securely encrypts reset token before storing in the database [\#68](https://github.com/feathersjs/feathers-authentication-management/pull/68) ([codingfriend1](https://github.com/codingfriend1)) | ||
**Closed issues:** | ||
- Error on verification: size must be a number \>= 0 [\#70](https://github.com/feathersjs/feathers-authentication-management/issues/70) | ||
- Passwordless Example [\#67](https://github.com/feathersjs/feathers-authentication-management/issues/67) | ||
- Question: How to use sendResetPwd when find is authenticated in users service [\#66](https://github.com/feathersjs/feathers-authentication-management/issues/66) | ||
**Merged pull requests:** | ||
- Update debug to the latest version 🚀 [\#65](https://github.com/feathersjs/feathers-authentication-management/pull/65) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) | ||
## [v0.7.0](https://github.com/feathersjs/feathers-authentication-management/tree/v0.7.0) (2017-08-06) | ||
@@ -55,3 +72,3 @@ [Full Changelog](https://github.com/feathersjs/feathers-authentication-management/compare/v0.5.0...v0.7.0) | ||
- added `sanitizeUserForClient` to options [\#47](https://github.com/feathersjs/feathers-authentication-management/pull/47) ([markacola](https://github.com/markacola)) | ||
- Update docs for addVerification hook [\#34](https://github.com/feathersjs/feathers-authentication-management/pull/34) ([z-a-h](https://github.com/z-a-h)) | ||
- Update docs for addVerification hook [\#34](https://github.com/feathersjs/feathers-authentication-management/pull/34) ([zacaytion](https://github.com/zacaytion)) | ||
- Docs fixes [\#30](https://github.com/feathersjs/feathers-authentication-management/pull/30) ([shawnlauzon](https://github.com/shawnlauzon)) | ||
@@ -58,0 +75,0 @@ - Edited docs to say example uses auth 1.0 [\#28](https://github.com/feathersjs/feathers-authentication-management/pull/28) ([eddyystop](https://github.com/eddyystop)) |
@@ -14,3 +14,3 @@ 'use strict'; | ||
this.checkUnique = function (identifyUser, ownId, ifErrMsg, cb) { | ||
this.checkUnique = function (identifyUser, ownId, ifErrMsg) { | ||
return authManagement.create({ | ||
@@ -21,6 +21,6 @@ action: 'checkUnique', | ||
meta: { noErrMsg: ifErrMsg } | ||
}, {}, cb); | ||
}, {}); | ||
}; | ||
this.resendVerifySignup = function (identifyUser, notifierOptions, cb) { | ||
this.resendVerifySignup = function (identifyUser, notifierOptions) { | ||
return authManagement.create({ | ||
@@ -30,20 +30,20 @@ action: 'resendVerifySignup', | ||
notifierOptions: notifierOptions | ||
}, {}, cb); | ||
}, {}); | ||
}; | ||
this.verifySignupLong = function (verifyToken, cb) { | ||
this.verifySignupLong = function (verifyToken) { | ||
return authManagement.create({ | ||
action: 'verifySignupLong', | ||
value: verifyToken | ||
}, {}, cb); | ||
}, {}); | ||
}; | ||
this.verifySignupShort = function (verifyShortToken, identifyUser, cb) { | ||
this.verifySignupShort = function (verifyShortToken, identifyUser) { | ||
return authManagement.create({ | ||
action: 'verifySignupShort', | ||
value: { user: identifyUser, token: verifyShortToken } | ||
}, {}, cb); | ||
}, {}); | ||
}; | ||
this.sendResetPwd = function (identifyUser, notifierOptions, cb) { | ||
this.sendResetPwd = function (identifyUser, notifierOptions) { | ||
return authManagement.create({ | ||
@@ -53,31 +53,31 @@ action: 'sendResetPwd', | ||
notifierOptions: notifierOptions | ||
}, {}, cb); | ||
}, {}); | ||
}; | ||
this.resetPwdLong = function (resetToken, password, cb) { | ||
this.resetPwdLong = function (resetToken, password) { | ||
return authManagement.create({ | ||
action: 'resetPwdLong', | ||
value: { token: resetToken, password: password } | ||
}, {}, cb); | ||
}, {}); | ||
}; | ||
this.resetPwdShort = function (resetShortToken, identifyUser, password, cb) { | ||
this.resetPwdShort = function (resetShortToken, identifyUser, password) { | ||
return authManagement.create({ | ||
action: 'resetPwdShort', | ||
value: { user: identifyUser, token: resetShortToken, password: password } | ||
}, {}, cb); | ||
}, {}); | ||
}; | ||
this.passwordChange = function (oldPassword, password, identifyUser, cb) { | ||
this.passwordChange = function (oldPassword, password, identifyUser) { | ||
return authManagement.create({ | ||
action: 'passwordChange', | ||
value: { user: identifyUser, oldPassword: oldPassword, password: password } | ||
}, {}, cb); | ||
}, {}); | ||
}; | ||
this.identityChange = function (password, changesIdentifyUser, identifyUser, cb) { | ||
this.identityChange = function (password, changesIdentifyUser, identifyUser) { | ||
return authManagement.create({ | ||
action: 'identityChange', | ||
value: { user: identifyUser, password: password, changes: changesIdentifyUser } | ||
}, {}, cb); | ||
}, {}); | ||
}; | ||
@@ -84,0 +84,0 @@ |
{ | ||
"name": "feathers-authentication-management", | ||
"description": "Adds sign up verification, forgotten password reset, and other capabilities to local feathers-authentication ", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"homepage": "https://github.com/feathersjs/feathers-authentication-management", | ||
@@ -6,0 +6,0 @@ "main": "lib/", |
610592
63