mirror of
https://github.com/simple-login/app.git
synced 2024-09-29 21:21:29 +02:00
Fix quarantine (#1241)
* add more logging * fix quarantine email incorrect deleted_at
This commit is contained in:
parent
ba06852dc2
commit
b299a305b5
1
cron.py
1
cron.py
@ -123,6 +123,7 @@ def delete_refused_emails():
|
|||||||
|
|
||||||
# do not set path and full_report_path to null
|
# do not set path and full_report_path to null
|
||||||
# so we can check later that the files are indeed deleted
|
# so we can check later that the files are indeed deleted
|
||||||
|
refused_email.delete_at = arrow.now()
|
||||||
refused_email.deleted = True
|
refused_email.deleted = True
|
||||||
Session.commit()
|
Session.commit()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user