mirror of
https://github.com/simple-login/app.git
synced 2025-09-21 22:14:37 +08:00
Fix quarantine (#1241)
* add more logging * fix quarantine email incorrect deleted_at
This commit is contained in:
parent
ba06852dc2
commit
b299a305b5
1 changed files with 1 additions and 0 deletions
1
cron.py
1
cron.py
|
@ -123,6 +123,7 @@ def delete_refused_emails():
|
|||
|
||||
# do not set path and full_report_path to null
|
||||
# so we can check later that the files are indeed deleted
|
||||
refused_email.delete_at = arrow.now()
|
||||
refused_email.deleted = True
|
||||
Session.commit()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue