Commit 0e2815fd by BellCodeEditor

save project

parent b9d05063
Showing with 9 additions and 2 deletions
......@@ -34,6 +34,13 @@ def register(): # 注册验证
messagebox.showinfo("成功","登录成功")
def login(): # 登录验证
name,password = app_login
mima2 = users.get(name)
if mima2 == mima:
messagebox.showinfo("成功","登录成功")
else:
messagebox.showerror("错误","用户名或密码错误")
class My_login(): # 登录窗口
def __init__(self):
......
{"admin": "123456"}
\ No newline at end of file
{"admin": "123456", "\u56db": "123t"}
\ 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