Commit 884fa38e by BellCodeEditor

save project

parent 0db2ca32
Showing with 6 additions and 2 deletions
......@@ -34,8 +34,12 @@ def register(): # 注册验证
def login(): # 登录验证
pass
name,password = app_login.get_input()
voice = users.get(name)
if voice == password:
messagebox.showinfo("提示","登录成功!")
else:
messagebox.showerror("错误","请检查用户名或密码!")
class My_login(): # 登录窗口
def __init__(self):
self.root = tkinter.Tk()
......
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