From d4c1b1fdccadfa905370b426708693567e6f754d Mon Sep 17 00:00:00 2001 From: Lan Hui <1348141770@qq.com> Date: Thu, 27 Jan 2022 11:57:40 +0800 Subject: [PATCH] Login.py: update expiry date. --- app/Login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Login.py b/app/Login.py index 1192240..14ad09e 100644 --- a/app/Login.py +++ b/app/Login.py @@ -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')