Update mw.py

pull/816/head
dami 1 day ago
parent e2fd50d152
commit b3f693556c
  1. 2
      web/core/mw.py

@ -423,9 +423,9 @@ def md5(content):
return False
def hasPwd(password):
# 加密密码字符
# python3 -c "import crypt"
# python3 -c 'import crypt; print(crypt.crypt(""))'
# 加密密码字符
# import crypt
# return crypt.crypt(password, password)
import bcrypt

Loading…
Cancel
Save