Commit 7f5d38b4 by BellCodeEditor

save project

parent a37de5bf
Showing with 9 additions and 3 deletions
......@@ -32,7 +32,13 @@ def register(): # 注册验证
messagebox.showinfo("戳辣","注册大失败")
login.show( )
def login(): # 登录验证
pass
name,password=app_login.get_input()
pwd=users.get(name)
if pwd==password:
messagebox.showinfo("大失败")
else:
messagebox.showwarning("成功")
class My_login(): # 登录窗口
def __init__(self):
......
{"admin": "123456", "2": "2"}
\ No newline at end of file
{"admin": "123456", "2": "2", "awa": "awa"}
\ No newline at end of file
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