summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2018-05-10 21:38:25 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2018-05-10 21:38:25 +0200
commitce93360257f3b4ef60035a75708148fc814811c1 (patch)
tree2d1cac47e524ba6e6164bb92e40bbbf78e2a265b /setup.py
parent4381a0d7c23203d19d8c33afc6264fa584ba0a4f (diff)
downloadaur-ce93360257f3b4ef60035a75708148fc814811c1.tar.gz
aur-ce93360257f3b4ef60035a75708148fc814811c1.tar.xz
Erase login IP addresses after seven days
Add a script to periodically remove old IP addresses from the users database. The login IP addresses are stored for spam protection and to prevent from abuse. It is quite unlikely that we ever need the IP address of a user whose last login is more than a week old. It makes sense to remove such IP addresses to protect our users' privacy. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 9d10cc1c..ca26f0d8 100644
--- a/setup.py
+++ b/setup.py
@@ -29,6 +29,7 @@ setup(
'aurweb-popupdate = aurweb.scripts.popupdate:main',
'aurweb-rendercomment = aurweb.scripts.rendercomment:main',
'aurweb-tuvotereminder = aurweb.scripts.tuvotereminder:main',
+ 'aurweb-usermaint = aurweb.scripts.usermaint:main',
],
},
)