Skip to content

Commit 0e452de

Browse files
fix: 修复密码多次加密 (#326)
* fix: 修复小程序无法签到 * fix: 修复无法使用密码登录 * fix: 修复密码多次加密
1 parent 7793b1e commit 0e452de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def __init__(
113113
"""微信小程序签到,启用功能意味着你愿意自行承担相关风险"""
114114

115115
def _password(self, password: str):
116-
if password == 32:
116+
if len(password) == 32:
117117
return password
118118
return md5_crypto(password)
119119

0 commit comments

Comments
 (0)