mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 16:10:26 +00:00
change password check (#6656)
* change password check * update * Update views.py * optimize-code * remove min_len and level when frontend check password * remove too short level --------- Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com>
This commit is contained in:
@@ -10,7 +10,6 @@ const propTypes = {
|
||||
|
||||
const PASSWORD_STRENGTH_VALUES = {
|
||||
empty: { classNames: ['default', 'default', 'default', 'default'], textValue: '' },
|
||||
too_short: { classNames: ['too-short', 'default', 'default', 'default'], textValue: 'too short' },
|
||||
weak: { classNames: ['weak', 'default', 'default', 'default'], textValue: 'weak' },
|
||||
medium: { classNames: ['medium', 'medium', 'default', 'default'], textValue: 'medium' },
|
||||
strong: { classNames: ['strong', 'strong', 'strong', 'default'], textValue: 'strong' },
|
||||
|
Reference in New Issue
Block a user