mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
4381a0d7c2
commit
ce93360257
4 changed files with 73 additions and 0 deletions
1
setup.py
1
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',
|
||||
],
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue