Skip to content

Commit 0467d39

Browse files
committed
Update user.py
1 parent f8f152a commit 0467d39

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

web/admin/model/user.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,3 @@ def isLoginCheck(username, password) -> bool:
9090
if info['password'] == mw.md5(password):
9191
return True
9292
return False
93-
94-
95-
96-
97-
def isLoginCheck(username, password) -> bool:
98-
info = getUserByName(data['username'])
99-
if info is None:
100-
return False
101-
102-
if info['password'] == mw.md5(password):
103-
return True
104-
return False

0 commit comments

Comments
 (0)