加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0006-fix-secondary-authentication-error.patch 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
keep-running 提交于 2024-07-29 18:55 . fix:secondary authentication error
From c1f0313076de2133b2948da968017aaa8a40c42f Mon Sep 17 00:00:00 2001
From: peng-langyuan <peng_langyuan@hoperun.com>
Date: Mon, 29 Jul 2024 18:51:30 +0800
Subject: [PATCH] fix:secondary authentication error
---
services/implementation/src/authentication/dm_auth_manager.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/services/implementation/src/authentication/dm_auth_manager.cpp b/services/implementation/src/authentication/dm_auth_manager.cpp
index 2874bec6..af1def0f 100644
--- a/services/implementation/src/authentication/dm_auth_manager.cpp
+++ b/services/implementation/src/authentication/dm_auth_manager.cpp
@@ -40,7 +40,7 @@ const int32_t WAIT_NEGOTIATE_TIMEOUT = 10;
const int32_t WAIT_REQUEST_TIMEOUT = 10;
const int32_t CANCEL_PIN_CODE_DISPLAY = 1;
const int32_t DEVICE_ID_HALF = 2;
-const int32_t MAX_AUTH_TIMES = 3;
+const int32_t MAX_AUTH_TIMES = 1;
const int32_t MIN_PIN_TOKEN = 10000000;
const int32_t MAX_PIN_TOKEN = 90000000;
const int32_t MIN_PIN_CODE = 100000;
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化