mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:49:25 +08:00
Update mw.py
This commit is contained in:
@@ -423,6 +423,7 @@ def md5(content):
|
||||
return False
|
||||
|
||||
def hasPwd(password):
|
||||
# python3 -c "import crypt"
|
||||
# 加密密码字符
|
||||
import crypt
|
||||
return crypt.crypt(password, password)
|
||||
|
||||
Reference in New Issue
Block a user