Commit 678fcc23 by BellCodeEditor

save project

parent 3e8cf3dd
Showing with 5 additions and 0 deletions
...@@ -39,6 +39,11 @@ def register(): ...@@ -39,6 +39,11 @@ def register():
def login(): # 登录验证 def login(): # 登录验证
name,password,password = app_reg.get_input() name,password,password = app_reg.get_input()
pwd = users.get(name)
if pwd == password
messagebox.showerror("成功")
elif :
messagebox.showerror("错误")
class My_login(): # 登录窗口 class My_login(): # 登录窗口
......
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