Update __init__.py

pull/526/head
Mr Chen 1 year ago
parent f24f8a3a16
commit 6d08c160e0
  1. 2
      route/__init__.py

@ -321,8 +321,6 @@ def verifyLogin():
if os.path.exists(auth_file):
content = mw.readFile(auth_file)
sec = mw.deDoubleCrypt('mdserver-web', content)
print(sec)
totp = pyotp.TOTP(sec)
if totp.verify(auth):
userInfo = mw.M('users').where("id=?", (1,)).field('id,username,password').find()

Loading…
Cancel
Save