Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
hello_uni-id-pages
提交
bd689925
H
hello_uni-id-pages
项目概览
DCloud
/
hello_uni-id-pages
通知
1054
Star
31
Fork
43
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
4
列表
看板
标记
里程碑
合并请求
2
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
H
hello_uni-id-pages
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
4
Issue
4
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
bd689925
编写于
11月 09, 2022
作者:
C
chenruilong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.0.28
上级
2155ee49
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
12 addition
and
8 deletion
+12
-8
.gitignore
.gitignore
+1
-0
uni_modules/uni-id-pages/.npmignore
uni_modules/uni-id-pages/.npmignore
+3
-1
uni_modules/uni-id-pages/changelog.md
uni_modules/uni-id-pages/changelog.md
+2
-0
uni_modules/uni-id-pages/package.json
uni_modules/uni-id-pages/package.json
+1
-1
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/password.js
...s/uniCloud/cloudfunctions/uni-id-co/lib/utils/password.js
+0
-1
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/reset-pwd-by-email.js
...dfunctions/uni-id-co/module/account/reset-pwd-by-email.js
+1
-1
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/reset-pwd-by-sms.js
...oudfunctions/uni-id-co/module/account/reset-pwd-by-sms.js
+1
-1
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/update-pwd.js
...oud/cloudfunctions/uni-id-co/module/account/update-pwd.js
+1
-1
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/admin/update-user.js
...loud/cloudfunctions/uni-id-co/module/admin/update-user.js
+1
-1
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
...i-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
+1
-1
未找到文件。
.gitignore
浏览文件 @
bd689925
...
@@ -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
...
...
uni_modules/uni-id-pages/.npmignore
浏览文件 @
bd689925
*.test.js
*.test.js
**/node_modules/
**/node_modules/
\ No newline at end of file
package-lock.json
.eslintrc.js
uni_modules/uni-id-pages/changelog.md
浏览文件 @
bd689925
## 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)
...
...
uni_modules/uni-id-pages/package.json
浏览文件 @
bd689925
{
{
"id"
:
"uni-id-pages"
,
"id"
:
"uni-id-pages"
,
"displayName"
:
"uni-id-pages"
,
"displayName"
:
"uni-id-pages"
,
"version"
:
"1.0.2
7
"
,
"version"
:
"1.0.2
8
"
,
"description"
:
"云端一体简单、统一、可扩展的用户中心页面模版"
,
"description"
:
"云端一体简单、统一、可扩展的用户中心页面模版"
,
"keywords"
:
[
"keywords"
:
[
"用户管理"
,
"用户管理"
,
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/password.js
浏览文件 @
bd689925
...
@@ -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
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/reset-pwd-by-email.js
浏览文件 @
bd689925
...
@@ -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
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/reset-pwd-by-sms.js
浏览文件 @
bd689925
...
@@ -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
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/update-pwd.js
浏览文件 @
bd689925
const
{
const
{
userCollection
,
dbCmd
userCollection
}
=
require
(
'
../../common/constants
'
)
}
=
require
(
'
../../common/constants
'
)
const
{
const
{
ERROR
ERROR
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/admin/update-user.js
浏览文件 @
bd689925
...
@@ -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
'
)
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
浏览文件 @
bd689925
{
{
"name"
:
"uni-id-co"
,
"name"
:
"uni-id-co"
,
"version"
:
"1.0.2
7
"
,
"version"
:
"1.0.2
8
"
,
"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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录