Commit 275d919d by BellCodeEditor

save project

parent 70b9e933
Showing with 4 additions and 3 deletions
......@@ -37,7 +37,8 @@ def register(): # 注册验证
messagebox.showinfo("成功", "注册成功")
reg_to_login()
def login(): # 登录验证
def login():
global app # 登录验证
name, password = app_login.get_input()
pwd = users.get(name)
if pwd == password:
......
{"admin": "admin", "python": "123456", "123": "123"}
\ No newline at end of file
{"admin": "admin", "python": "123456", "123": "123", "212": "212"}
\ 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