Commit 678fcc23 by BellCodeEditor

save project

parent 3e8cf3dd
Showing with 6 additions and 1 deletions
...@@ -38,7 +38,12 @@ def register(): ...@@ -38,7 +38,12 @@ 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