Commit 0e39dda3 by BellCodeEditor

save project

parent 2aef1035
Showing with 4 additions and 3 deletions
......@@ -93,7 +93,8 @@ def register(): # 注册验证
messagebox.showinfo("成功", "注册成功")
reg_to_login()
def login(): # 登录验证
def login():
global app,alist # 登录验证
name, password = app_login.get_input()
pwd = users.get(name)
if pwd == password:
......
{"admin": "admin", "python": "123456"}
\ No newline at end of file
{"admin": "admin", "python": "123456", "ppp": {"password": "ppp", "event": ["t1", "t2"]}, "1": {"password": "1", "event": ["t1", "t2"]}}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment