1
0
Fork 0

Login.py: update expiry date.

WangXuan-Highlight-Pronounce
Lan Hui 2022-01-27 11:57:40 +08:00
parent a94a333366
commit d4c1b1fdcc
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ def verify_user(username, password):
def add_user(username, password):
start_date = datetime.now().strftime('%Y%m%d')
expiry_date = '20211230'
expiry_date = '20221230'
# 将用户名和密码一起加密,以免暴露不同用户的相同密码
password = md5(username + password)
rq = InsertQuery(path_prefix + 'static/wordfreqapp.db')