Commit 3e9cedd8 by BellCodeEditor

save project

parent dcb4f06c
Showing with 1 additions and 1 deletions
......@@ -40,7 +40,7 @@ def login(): # 登录验证
pwd=users.get(name)
if name in users and pwd==password:
messagebox.showinfo("消息","登陆成功!")
if pwd!=passward or pwd==None:
else:
messagebox.showerror("错误","用户名或密码错误!")
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