Commit f3b94024 by BellCodeEditor

auto save

parent 860d6e25
Showing with 8 additions and 3 deletions
......@@ -35,7 +35,12 @@ def register(): # 注册验证
reg_to_login()
def login(): # 登录验证
pass
name,password = app_login.get_input()
pwd = users.get(name)
if pwd == password:
messagebox.showwarning("成功")
else:
messagebox.showwarning("错误")
class My_login(): # 登录窗口
def __init__(self):
......
{"admin": "123", "dgd": "123"}
\ No newline at end of file
{"admin": "123", "dgd": "123", "d": "1", "q": "1", "tr": "12"}
\ 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