提交 bd689925 编写于 作者: C chenruilong

1.0.28

上级 2155ee49
...@@ -5,6 +5,7 @@ node_modules/ ...@@ -5,6 +5,7 @@ node_modules/
.vite/ .vite/
uni_modules_tools/copy uni_modules_tools/copy
/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json /uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json
/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/custom-password.js
.idea .idea
.vscode .vscode
......
*.test.js *.test.js
**/node_modules/ **/node_modules/
\ No newline at end of file package-lock.json
.eslintrc.js
## 1.0.28(2022-11-09)
- uni-id-co 升级密码加密算法,支持hmac-sha256加密 [详情](https://uniapp.dcloud.net.cn/uniCloud/uni-id-summary.html#password-safe)
## 1.0.27(2022-10-26) ## 1.0.27(2022-10-26)
- uni-id-co 新增 secureNetworkHandshakeByWeixin 接口,用于建立和微信小程序的安全网络连接 - uni-id-co 新增 secureNetworkHandshakeByWeixin 接口,用于建立和微信小程序的安全网络连接
## 1.0.26(2022-10-18) ## 1.0.26(2022-10-18)
......
{ {
"id": "uni-id-pages", "id": "uni-id-pages",
"displayName": "uni-id-pages", "displayName": "uni-id-pages",
"version": "1.0.27", "version": "1.0.28",
"description": "云端一体简单、统一、可扩展的用户中心页面模版", "description": "云端一体简单、统一、可扩展的用户中心页面模版",
"keywords": [ "keywords": [
"用户管理", "用户管理",
......
...@@ -76,7 +76,6 @@ const passwordExtMethod = { ...@@ -76,7 +76,6 @@ const passwordExtMethod = {
}, },
[passwordAlgorithmMap.UNI_ID_CUSTOM]: { [passwordAlgorithmMap.UNI_ID_CUSTOM]: {
verify ({ password, passwordSecret }) { verify ({ password, passwordSecret }) {
console.log(customPassword)
if (!customPassword.verifyPassword) throw new Error('verifyPassword method not found in custom password file') if (!customPassword.verifyPassword) throw new Error('verifyPassword method not found in custom password file')
// return true or false // return true or false
......
...@@ -12,7 +12,7 @@ const { ...@@ -12,7 +12,7 @@ const {
userCollection, userCollection,
EMAIL_SCENE, EMAIL_SCENE,
CAPTCHA_SCENE, CAPTCHA_SCENE,
LOG_TYPE, dbCmd LOG_TYPE
} = require('../../common/constants') } = require('../../common/constants')
const { const {
findUser findUser
......
...@@ -12,7 +12,7 @@ const { ...@@ -12,7 +12,7 @@ const {
userCollection, userCollection,
SMS_SCENE, SMS_SCENE,
CAPTCHA_SCENE, CAPTCHA_SCENE,
LOG_TYPE, dbCmd LOG_TYPE
} = require('../../common/constants') } = require('../../common/constants')
const { const {
findUser findUser
......
const { const {
userCollection, dbCmd userCollection
} = require('../../common/constants') } = require('../../common/constants')
const { const {
ERROR ERROR
......
...@@ -5,7 +5,7 @@ const { ...@@ -5,7 +5,7 @@ const {
ERROR ERROR
} = require('../../common/error') } = require('../../common/error')
const { const {
userCollection, dbCmd userCollection
} = require('../../common/constants') } = require('../../common/constants')
const PasswordUtils = require('../../lib/utils/password') const PasswordUtils = require('../../lib/utils/password')
......
{ {
"name": "uni-id-co", "name": "uni-id-co",
"version": "1.0.27", "version": "1.0.28",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"keywords": [], "keywords": [],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册