From 8f74c6fd3ab7c1626dec411c7acba578131bc894 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Thu, 13 Aug 2020 16:38:27 +0800 Subject: main.py: add logout link. --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/main.py') diff --git a/app/main.py b/app/main.py index 56ab992..3a51261 100644 --- a/app/main.py +++ b/app/main.py @@ -262,7 +262,7 @@ def userpage(username): user_expiry_date = session.get('expiry_date') if datetime.now().strftime('%Y%m%d') > user_expiry_date: - return '

账号 %s 过期。

为了提高服务质量,English Pal 收取会员费用, 每天1元。 请决定你要试用的时间长度,扫描下面支付宝二维码支付。 支付时请注明English Pal Membership Fee。 我们会于12小时内激活账号。

支付宝二维码

如果有问题,请加开发者微信 torontohui

' % (username) + return '

账号 %s 过期。

为了提高服务质量,English Pal 收取会员费用, 每天1元。

请决定你要试用的时间长度,扫描下面支付宝二维码支付。 支付时请注明English Pal Membership Fee。 我们会于12小时内激活账号。

支付宝二维码

如果有问题,请加开发者微信 torontohui。

登出

' % (username) username = session.get('username') -- cgit v1.2.1