mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 17:35:27 +08:00
fix manual subscription reminder sent for lifetime user
This commit is contained in:
parent
4369137e25
commit
d81e9fb75f
1 changed files with 4 additions and 0 deletions
4
cron.py
4
cron.py
|
@ -160,6 +160,10 @@ def notify_manual_sub_end():
|
|||
# user can have a (free) manual subscription but has taken a paid subscription via
|
||||
# Paddle, Coinbase or Apple since then
|
||||
if manual_sub.is_giveaway:
|
||||
if user.lifetime:
|
||||
LOG.d("%s has a lifetime licence", user)
|
||||
continue
|
||||
|
||||
if user.get_subscription():
|
||||
LOG.d("%s has a active Paddle subscription", user)
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue