Commit fca0cbc6 by BellCodeEditor

save project

parent 2be5508c
Showing with 9 additions and 4 deletions
......@@ -30,12 +30,17 @@ def register(): # 注册验证
file.write(content)
messagebox.showinfo("成功","注册成功)
reg_to_login()
def login(): # 登录验证
pass
name,password=app_login.get_input()
pwd=users.get()
if pwd==password:
messagebox.showinfo("成功","登录成功")
elif:
messagebox.showwarning("错误","用户名已被注册")
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