Bug 497 - 注册时密码有过于简单的判断,而修改密码时没有
Summary: 注册时密码有过于简单的判断,而修改密码时没有
Status: CONFIRMED
Alias: None
Product: EnglishPal
Classification: Unclassified
Component: Bug报告 (show other bugs)
Version: 0.1
Hardware: PC Windows
: --- enhancement
Assignee: Hui Lan
URL:
Depends on:
Blocks:
 
Reported: 2022-11-03 18:26 CST by 王梓铭
Modified: 2022-11-03 18:26 CST (History)
0 users

See Also:


Attachments

Description 王梓铭 2022-11-03 18:26:38 CST
在注册时,密码长度小于4会提示“密码过于简单。”;但是在修改密码时,新的密码并没有密码最小长度的限制,这就导致了两处功能之间的不一致。
  问题主要出在account_service.py的signup函数和reset函数。在signup函数中,程序对密码长度进行判断,但是在reset函数中没有进行判断,而是直接进行了修改。

Note You need to log in before you can comment on or make changes to this bug.