Commit dd9f2b22 by BellCodeEditor

save project

parent 1430d424
Showing with 6 additions and 0 deletions
......@@ -33,6 +33,12 @@ def register(): # 注册验证
reg_to_login()
def login(): # 登录验证
name,password=app_login.get_input()
pwd =b.get(name)
if pwd==password:
messagebox.showinfo('成功','登录成功')
else:
messagebox.showerror('错误','账号或密码不正确')
class My_login(): # 登录窗口
def __init__(self):
......
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