Commit bcd1e2b4 by BellCodeEditor

save project

parent 66e0daab
Showing with 3 additions and 3 deletions
...@@ -37,7 +37,7 @@ def register(): # 注册验证 ...@@ -37,7 +37,7 @@ def register(): # 注册验证
def login(): # 登录验证 def login(): # 登录验证
name,password =app_login.get_input() name,password =app_login.get_input()
my_bl = dict.get(name) my_bl = users.get(name)
if my_bl == None: if my_bl == None:
messagebox.showwarning('警告','此用户不存在!') messagebox.showwarning('警告','此用户不存在!')
elif my_bl != password: elif my_bl != password:
......
{"admin": "123456"} {"admin": "123456", "liyuqi": "0312"}
\ No newline at end of file \ 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